|
|
|
|
||||||
| comp.mail.sendmail Configuring and using the BSD sendmail agent. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
My sendmail installation had been running just fine until recently. It
seems that upon connecting to my mail servers port 25 it hangs for about 20 seconds before connecting. This happens no matter if i'm on a linux box, windows box, mac, localhost or a remote host. I thought maybe it was an IDENT issue so i set the ident timeout to 1s but it was still giving the issue so I went ahead and disabled IDENT in sendmail using ''OrIdent=0'', yet the issue still occurs. CPU and/or memory shouldn't be an issue, theres plenty of power on this server. Here is an strace of sendmail during the hang period: gettimeofday({1169243552, 401069}, NULL) = 0 poll([{fd=5, events=POLLIN}], 1, 4722) = 0 gettimeofday({1169243557, 139652}, NULL) = 0 poll([{fd=5, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1 send(5, "\231b\1\0\0\1\0\0\0\0\0\0\00281\003200\003182\003 198\6"..., 48, 0) = 48 poll([{fd=5, events=POLLIN}], 1, 5000) = 0 gettimeofday({1169243562, 150157}, NULL) = 0 poll([{fd=5, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1 send(5, "\231b\1\0\0\1\0\0\0\0\0\0\00281\003200\003182\003 198\6"..., 48, 0) = 48 poll([{fd=5, events=POLLIN}], 1, 5000) = 0 gettimeofday({1169243567, 160744}, NULL) = 0 poll([{fd=5, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1 Any would be greatly appreciated, please let me know if additional information is needed. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
"Jay" <jasonpz@gmail.com> writes:
> My sendmail installation had been running just fine until recently. It > seems that upon connecting to my mail servers port 25 it hangs for > about 20 seconds before connecting. This happens no matter if i'm on a > linux box, windows box, mac, localhost or a remote host. I thought > maybe it was an IDENT issue so i set the ident timeout to 1s but it was > still giving the issue so I went ahead and disabled IDENT in sendmail > using ''OrIdent=0'', yet the issue still occurs. > > CPU and/or memory shouldn't be an issue, theres plenty of power on this > server. > > Here is an strace of sendmail during the hang period: > > gettimeofday({1169243552, 401069}, NULL) = 0 > poll([{fd=5, events=POLLIN}], 1, 4722) = 0 > gettimeofday({1169243557, 139652}, NULL) = 0 > poll([{fd=5, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1 > send(5, "\231b\1\0\0\1\0\0\0\0\0\0\00281\003200\003182\003 198\6"..., > 48, 0) = 48 > poll([{fd=5, events=POLLIN}], 1, 5000) = 0 > gettimeofday({1169243562, 150157}, NULL) = 0 > poll([{fd=5, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1 > send(5, "\231b\1\0\0\1\0\0\0\0\0\0\00281\003200\003182\003 198\6"..., > 48, 0) = 48 > poll([{fd=5, events=POLLIN}], 1, 5000) = 0 > gettimeofday({1169243567, 160744}, NULL) = 0 > poll([{fd=5, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1 > > Any would be greatly appreciated, please let me know if additional > information is needed. 0) Have you tried to check time it takes to resolve reverse DNS query on the host using nslookup/dig? [ test it first because it is simple ] 1) Do you use local "caching only" name server? 2) How many nameservers have you defined in /etc/resolv.conf? -- [pl>en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl Before You Ask: http://anfi.homeunix.net/sendmail/B4UAsk-Sendmail.html http://anfi.homeunix.net/sendmail/ |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Andrzej Adam Filip wrote:
> 0) Have you tried to check time it takes to resolve reverse DNS query on > the host using nslookup/dig? [ test it first because it is simple ] > 1) Do you use local "caching only" name server? > 2) How many nameservers have you defined in /etc/resolv.conf? > > -- > [pl>en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl > Before You Ask: http://anfi.homeunix.net/sendmail/B4UAsk-Sendmail.html > http://anfi.homeunix.net/sendmail/ Resolving the hosts is instantaneous, both forward and reverse using host/nslookup/dig. I'm not using a local caching only name server. I only have 1 nameserver defined in resolv.conf and it is the nameserver on my local network. It seems to be resolving everything on my local network just fine.. |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
Jay wrote:
> My sendmail installation had been running just fine until recently. It > seems that upon connecting to my mail servers port 25 it hangs for > about 20 seconds before connecting. This happens no matter if i'm on a > linux box, windows box, mac, localhost or a remote host. I thought > maybe it was an IDENT issue so i set the ident timeout to 1s but it was > still giving the issue so I went ahead and disabled IDENT in sendmail > using ''OrIdent=0'', yet the issue still occurs. > > CPU and/or memory shouldn't be an issue, theres plenty of power on this > server. > Are you using the now defunct ordb.org dnsbl? They recently turned it off. dp |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
Dennis Peterson wrote: > Jay wrote: > > My sendmail installation had been running just fine until recently. It > > seems that upon connecting to my mail servers port 25 it hangs for > > about 20 seconds before connecting. This happens no matter if i'm on a > > linux box, windows box, mac, localhost or a remote host. I thought > > maybe it was an IDENT issue so i set the ident timeout to 1s but it was > > still giving the issue so I went ahead and disabled IDENT in sendmail > > using ''OrIdent=0'', yet the issue still occurs. > > > > CPU and/or memory shouldn't be an issue, theres plenty of power on this > > server. > > > > Are you using the now defunct ordb.org dnsbl? They recently turned it off. > > dp That was exactly the problem. I guess I should pay closer attention to this stuff. Thanks again, the problem is fixed! |
|
![]() |
| Outils de la discussion | |
|
|