Danita,

> The new dual Xeon machine is often taking a HUGE amount of time to issue
> a 220 at the connection.  And it shows many, many "lost connection after
> CONNECT" errors.  I'm fairly new to Linux, and I don't know where to start
> looking.  I'm a NetWare person by background,

> and am looking for something that will show me all of the
> port 25 connections

these commands or their variations my help:
  netstat -n --inet
  lsof -i
  ps aux | grep smtpd

> or shed some  light on why the server is not accepting connections as fast 
as its "sister" machine, which accepts them almost as fast as the log will 
scroll for me to watch.  
[...]
> Actually, I spoke too soon.  That server can do very fast reverse lookups
> now (and possibly before - I saw the bad DNS entry and decided that was the
> problem).  However, it still has very slow connections.

Home many smtpd processes are there? Perhaps you have a limit
on the number of smtpd processes that is too close to the need.
In master.cf:
  # Max procs: the maximum number of processes that may execute this
  # service simultaneously. Default is to use a globally configurable
  # limit (the default_process_limit configuration parameter in main.cf).
  # Specify 0 for no process count limit.

The number can be fairly hight, 50 or 100 is sensible for a busy host.
The relevant entry for port 25 in master.cf looks like:
  smtp  inet  n    -   n    -    -   smtpd

If the number of smtpd processes on port 25 seems to hover near a limit,
you can either increase the maxproc limit on smtpd, or try to reduce
the time each smtpd takes to deal with a session.

Perhaps one of the tests in your smtpd_client_restrictions is killing you
or a ow DNS lookup (as noted by Matt). Or there is ome kernel tcp protocol 
stack limit that is too low for a busy host.

  Mark



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to