[Mimedefang] Mimedefang with more than 1024 fd's
glad at daimi.au.dk
Mon Aug 27 14:51:46 EDT 2007
I occasionally have the mimedefang multiplexor running out of
file descriptors and had consequently inserted a 'ulimit -s 2048'
call in /etc/init.d/mimedefang. However this doesn't work as expected.
As soon as accept() starts returning fd's larger than 1024, I get
Aug 27 20:25:15 myserver mimedefang: MIMEDefang-2.63: accept() returned invalid socket (Numerical result out of range), try again
messages in the syslog and soon after my users start calling.
Apart from running zillions of sendmail processes serving the botnets of the world,
the cluster machines does not by any means seem overloaded.
So is there a way to have mimedefang handle more than 1024 descriptors?
Red Hat Enterprise Linux AS release 4 (Nahant Update 5)
Linux myserver 2.6.9-55.0.2.ELsmp #1 SMP Tue Jun 12 17:59:08 EDT 2007 i686 i686 i386 GNU/Linux
[root at myserver ~]# grep -v '#' /etc/sysconfig/mimedefang | grep -v ^$
More information about the MIMEDefang