My SMTP proxy stopped accepting connections giving a 421 Too many concurrent SMTP connections. However there only seemed to be 1 SMTP connection to the service. In the kernel log I saw these messages occuring shorty before the proxy stopped accepting connections:
And in the mail log: Jul 24 10:09:22 (none) exim[10878]: 2003-07-24 10:09:22 Connection from 207.68.165.29 refused: too many connections
(first occurance)
I tried shutting down the proxy in webadmin and it didn't restart when I tried to restart it. I ended up restarting the firewall and then everything seemed OK. What could be the cause of this - and how do I prevent it from happening again?
there is actually a limit in ASL of how many SMTP session can be open at the same time, you can change that on the command line, the file is /var/chroot-smtp/etc/exim.conf-default, the parameter you have to set is documanted at exim.org. If you change the config make sure you restart the SMTP relay.
However, the kernel log reads more like a problem with your hardware, my guess, it's the memory.
It would be difficult to test the memory - but I guess I have to do it one way or the other. I'll set the max smtp connections parameter a bit higher and just watch ASL closely for some time. Thanks for the input guys.