Sendmail slow?

Smoot Carl-Mitchell smoot at tic.com
Sat Feb 14 19:01:33 UTC 2009


On Fri, 2009-02-13 at 19:57 -0800, Knute Johnson wrote:

> Wireshark shows a 5 second period between the connection to port 587 and 
> the 220 message from sendmail.  That's where my problem is.
> 
> Do you know of any configuration that would cause that sort of a delay?

You might try running strace on the listening SMTP process with timer
option to see where the delay is creeping in.  Something like

sudo strace -f -p <pid> -o <output_file> -t

You need the -f to pick up the forked processes as the listening
sendmail handles the connections.  The -t will give you timestamps on
each system call.
-- 
Smoot Carl-Mitchell
Computer Systems and
Network Consultant
smoot at tic.com
+1 480 922 7313
cell: +1 602 421 9005




More information about the ubuntu-users mailing list