1846841 Members
7644 Online
110256 Solutions
New Discussion

sendmail throughput

 
SOLVED
Go to solution
Martha Mueller
Super Advisor

sendmail throughput

How can I judge the amount of sendmail traffic my system will support? We are experiencing no problems, but will want to expand. How can I tell the number of mail messages currently being sent per hour? Is there some method other than sorting the //var//adm//syslog//mail.log?

Our system is an L2000 with 2 cpu's and 2 GB memory.
5 REPLIES 5
someone_4
Honored Contributor
Solution

Re: sendmail throughput

hey there..
How about the
mailstats command.
Just type mailstats at the command line and it starts. You can also do a man on mailstats.

Richard
Martha Mueller
Super Advisor

Re: sendmail throughput

Thank you. That was just what I needed.
A. Clay Stephenson
Acclaimed Contributor

Re: sendmail throughput

Hi Martha:

First check your /etc/mail/sendmail.cf file. There should be an entry
0 StatusFile=/etc/mail/sendmail.st (or whatever you like).
If you made changes to this file, stop and restart sendmail. You must also create this file; e.g. cp /dev/null /etc/mail/sendmail.st.

You can then use the mailstats command to output the statistics. Man mailstats for details.

Regards, Clay
If it ain't broke, I can fix that.
Martha Mueller
Super Advisor

Re: sendmail throughput

Thank you, too. I was just trying to figure out what the man page was telling me when answered. Thanks for saving my brain cells some work.
Craig Rants
Honored Contributor

Re: sendmail throughput

Martha,
By default I think that sendmail will handle 100 concurrent connections without refusing connections, and will allow the system load to reach 12 before it stops accepting connections. Given that background, rarely have I seen any box get that backed up unless someone was DOSing the sendmail service. We have a small A180 handling all our external email connections, and we are a large company, so I would venture to say that your L is more than sufficient.

GL,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut