KB Article #176841

What settings control the time to wait for MDNs, and the transfer retry period?

Problem

When an EDI (AS1/AS2/AS3) transfer is sent outbound from Gateway and an MDN is to be returned by the remote partner, what settings control how long Gateway will wait for a valid MDN before retrying the transfer? And is this the same for synchronous and asynchronous MDNs?

Resolution

The amount of time that Gateway waits for the MDN (whether synchronous or asynchronous) is defined by the sync_eerp_delay configuration option. The default is 300 (seconds).

The retries are controlled by three settings in the remote site definition:

s_retry_count_max
s_retry_delay_min
s_retry_delay_max

The first one tells how many times the transfer will be retried (until it's successful, or this number is reached). The second is the initial number of seconds to wait before the first retry; for each retry, that value will be doubled. The third is the maximum that the delay will reach. (Thus, if you have the retry count set to 5, delay_min set to 10 and delay_max set to 100, then it'll try first after 10 seconds, then 20, then 40, then 80, and then give up, because the next one would have to be 160 seconds, which exceeds 100.)