Regarding sendmail connections

Andrew Mathews andrew_mathews
Mon May 17 11:48:27 PDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Swapana Ghosh wrote:
| Hi
|
|     I want to check - how many connections our
| Sendmail can accept and handle...
|     Which is the parameter will tell this?
|
| Regards.
| -Swapna
|
|

Unless defined by the ConnectionRateThrottle, MaxDaemonChildren,
DelayLA, or RefuseLA parameters, it's limited by bandwidth, disk I/O,
memory, processors, and numerous other variables. The -d44.4 flag when
in testing mode will show the open file attempts, which is a beginning
to determining a bottleneck. Try something like:

[root at www root]# sendmail -bt -d0.1
Version 8.12.9
~ Compiled with: DNSMAP HESIOD HES_GETMAILHOST LDAPMAP LOG MAP_REGEX
~                MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET
NETINET6
~                NETUNIX NEWDB NIS PIPELINING SASLv2 SCANF STARTTLS
TCPWRAPPERS
~                USERDB USE_LDAP_INIT

============ SYSTEM IDENTITY (after readcf) ============
~      (short domain name) $w = www
~  (canonical domain name) $j = www.linux-works.org
~         (subdomain name) $m = linux-works.org
~              (node name) $k = www.linux-works.org
========================================================

ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
| /try local bozo at yahoo.com
Trying envelope recipient address bozo at yahoo.com for mailer local
canonify           input: bozo @ yahoo . com
Canonify2          input: bozo < @ yahoo . com >
Canonify2        returns: bozo < @ yahoo . com . >
canonify         returns: bozo < @ yahoo . com . >
2                  input: bozo < @ yahoo . com . >
2                returns: bozo < @ yahoo . com . >
EnvToL             input: bozo < @ yahoo . com . >
EnvToL           returns: bozo
final              input: bozo
final            returns: bozo
Rcode = 0, addr = bozo
|Ctrl-D

There are 100 flags, each with a level from 0-127
Examples:
- -d = -d0-99.1
- -d5 = -d5.1
- -d3.2,44.8,50-53.1
Also:
- -d21 shows rewriting (same as -bt)
- -d21.12 shows detailed rewriting
- -d60 shows map lookups
- -d11 shows mailer invocations
- -d8.7 shows DNS chat
- -d0.1 shows compiler flags and identity
- -d0.4 shows probing for local names
- -d0.10 shows OS dependent compile flags
- -d44.4 shows file open attempts

Don't forget to check your mailstats command for some cumulative
information:
[root at www root]# mailstats
Statistics from Fri Jun  6 00:00:02 2003
~ M   msgsfr  bytes_from   msgsto    bytes_to  msgsrej msgsdis  Mailer
~ 0        0          0K        5         11K        0       0  prog
~ 4     1157       7592K       58        123K      155       0  esmtp
~ 9     1323       5860K     2427       8071K       30       0  local
=============================================================
~ T     2480      13452K     2490       8205K      185       0
~ C     2684                   58                  185

- --
Andrew Mathews
- ---------------------------------------------------------------------
~  1:47pm  up 65 days, 22:19,  9 users,  load average: 1.46, 0.70, 0.49
- ---------------------------------------------------------------------
"When the going gets weird, the weird turn pro..."
- -- Hunter S. Thompson
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org

iD8DBQE+7iVQejAu2RVHwF4RArxwAJ9siZJVhiBozsOBL14oR8xWR4VFXgCfZdiu
VN4b2ynO3LmpUCb1EmzMEp8=
=NjtK
-----END PGP SIGNATURE-----



More information about the Linux-users mailing list