List Info

Thread: Re: Which timeout setting?




Re: Which timeout setting?
country flaguser name
United States
2007-12-20 00:56:20
we also have started seeing this TCP time out error.  Doing
a telnet port 25 to the destination mail server will work
for us.  In trying to track one of these down, the
destination mail server administrator said that their
network does not accept ICMP packets. Could SurgeMail be
checking the destination with a ping before opening port 25?
Their DNS entries all seem correct.

Larry
============================================= 
----- Original Message -----
From: Support ChrisP <surgemail-supportnetwinsite.com>
To: surgemail-listnetwinsite.com
Cc: mikemailoutinteractive.com
Subject: Re: [SurgeMail List] Which timeout setting?
Date: Thu, 20 Dec 2007 13:12:52 +1300

> Changing the timeout won't help with that error, that
error means that a network issue exists, or firewall, or the

> remote server is faulty or down.
> 
> Test it manually like this from your server:
>     telnet remote.server.ip.address 25
> And see if it connects, then if it does resend the
message and see if surgemail can send it.
> 
> If telnet fails then the network issue exists or the
remote end is not running
> 
>     ChrisP
> 
> 
> Mike Bridge wrote:
> > 
> >         Hi-
> > 
> > 
> > I was trying to adjust the timeout for delivering
mail, because I'm 
> > getting errors like this for a particular server:
> > 
> > 
> >    19 12:13:41 [3340191] Later 207.176.155.55
<http://207.176.155.55> 
> > <...> <....> 0  "recent slow open
age=82 delay=180 399 TCP Read failed 
> > (Socket Timeout after 180 seconds) 180 sec"
> > 
> > 180 seconds is too long for me to wait---which of
these (or something 
> > else) will adjust this setting?
> > 
> > 
> >         g_send_open_timeout - SMTP link open
timeout
> > 
> > Timeout, in seconds when opening an SMTP link.
> > 
> > 
> >         g_send_timeout - Send timeout
> > 
> > Timeout, in seconds when sending mail, default is
540 (9 minutes)
> > 
> > 
> > Thanks!
> > 
> > -Mike
> > 
> > 
> > 
> > 
> 


Re: Which timeout setting?
country flaguser name
New Zealand
2007-12-20 16:26:02
Larry A wrote:
> we also have started seeing this TCP time out error. 
Doing a telnet port 25 to the destination mail server will 
 > work for us.  In trying to track one of these down,
the destination mail server administrator said that their
network
 > does not accept ICMP packets. Could SurgeMail be
checking the destination with a ping before opening port 25?
Their
 > DNS entries all seem correct.

Give me an example to test. But in brief, no surgemail is
just opening a normal ordinary tcp connection, so if it
fails 
it means there is a network error or the remote end refused
the connection.

If you can telnet ok but can't send via surgemail, and you
are sending to the same host (being sure to use the mx 
hosts), then that would be most odd.  Send me the msg*.rec
logs showing this and I'll see if I can reproduce it from 
another server.

The only other situation I know of is if surgemail tries to
open  a bunch of connections to a host really fast then it 
might trigger a DOS evasion from the remote end, which looks
just like a failed connection.  The logs should help to 
indicate if this might have  been the case.   Send me all
the msg*.rec entries a few minutes either side of the
problem.



	ChrisP.

> 
> Larry
> ============================================= 
> ----- Original Message -----
> From: Support ChrisP <surgemail-supportnetwinsite.com>
> To: surgemail-listnetwinsite.com
> Cc: mikemailoutinteractive.com
> Subject: Re: [SurgeMail List] Which timeout setting?
> Date: Thu, 20 Dec 2007 13:12:52 +1300
> 
>> Changing the timeout won't help with that error,
that error means that a network issue exists, or firewall,
or the 
>> remote server is faulty or down.
>>
>> Test it manually like this from your server:
>>     telnet remote.server.ip.address 25
>> And see if it connects, then if it does resend the
message and see if surgemail can send it.
>>
>> If telnet fails then the network issue exists or
the remote end is not running
>>
>>     ChrisP
>>
>>
>> Mike Bridge wrote:
>>>         Hi-
>>>
>>>
>>> I was trying to adjust the timeout for
delivering mail, because I'm 
>>> getting errors like this for a particular
server:
>>>
>>>
>>>    19 12:13:41 [3340191] Later 207.176.155.55
<http://207.176.155.55> 
>>> <...> <....> 0  "recent slow
open age=82 delay=180 399 TCP Read failed 
>>> (Socket Timeout after 180 seconds) 180
sec"
>>>
>>> 180 seconds is too long for me to wait---which
of these (or something 
>>> else) will adjust this setting?
>>>
>>>
>>>         g_send_open_timeout - SMTP link open
timeout
>>>
>>> Timeout, in seconds when opening an SMTP link.
>>>
>>>
>>>         g_send_timeout - Send timeout
>>>
>>> Timeout, in seconds when sending mail, default
is 540 (9 minutes)
>>>
>>>
>>> Thanks!
>>>
>>> -Mike
>>>
>>>
>>>
>>>
> 


Re: Which timeout setting?
country flaguser name
United States
2007-12-21 13:09:28
Hi-

I set both of these:

&nbsp;  g_send_timeout = 15
 &nbsp; g_send_open_timeout = 20

This appears to have worked---most of these connections terminate after 15s, although some last for a few seconds longer.

The issue is that Yahoo (mainly) seems to sometimes hold these connections open for a long time as an anti-spam measure, and this bogs surgemail down. ; I'd rather bail after 15 seconds or so than have them sit and wait for a minute-and-a-half.

  21 03:53:59 [3417553] Later 207.176.155.148 < XXXXXXXXXXXXX.com">XXXXXXXXXXXXX.com> < XXXXXXXXX.net">XXXXXXXXX.net> 0  "Open ( 207.162.160.15) Error 21sec (399 TCP Read failed (Socket Timeout after 20 seconds) 20 sec)"

Thanks,

-Mike


On 12/20/07, Support ChrisP < surgemail-supportnetwinsite.com">surgemail-supportnetwinsite.com> wrote:
Larry A wrote:
>; we also have started seeing this TCP time out error.&nbsp; Doing a telnet port 25 to the destination mail server will
> work for us. &nbsp;In trying to track one of these down, the destination mail server administrator said that their network
> does not accept ICMP packets. Could SurgeMail be checking the destination with a ping before opening port 25? Their
> DNS entries all seem correct.

Give me an example to test. But in brief, no surgemail is just opening a normal ordinary tcp connection, so if it fails
it means there is a network error or the remote end refused the connection.

If you can telnet ok but can't send via surgemail, and you are sending to the same host (being sure to use the mx
hosts), then that would be most odd.  Send me the msg*.rec logs showing this and I'll see if I can reproduce it from
another server.

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )