[Mimedefang] Mulitplexor and File Descriptor Errors
Jonog Kim
jkimlist01 at gmail.com
Mon Aug 21 10:00:01 EDT 2006
Hello. I'm running into a problem with the multiplexor and file
descriptors. We seem to be having an issue with 1024 FD's on parent
md-multi pid is reach and it crashes and generated these erorrs.
current syntax:
/usr/bin/mimedefang-multiplexor -p
/var/spool/MIMEDefang/mimedefang-multiplexor.pid -S mail -m 25 -x 100
-U sv -b 600 -q 128 -Q 10 -r 10000 -N /var/spool/MIMEDefang/map.sock
-w 1 -W 0 -E -l -s /var/spool/MIMEDefang/mimedefang- multiplexor.sock
bad syntax:
/usr/bin/mimedefang-multiplexor -p
/var/spool/MIMEDefang/mimedefang-multiplexor.pid -S mail -m 100 -x 100
-U sv -b 600 -q 128 -Q 10 -r 10000 -N /var/spool/MIMEDefang/map.sock
-w 1 -W 0 -E -l -s /var/spool/MIMEDefang/mimedefang-multiplexor.sock
minSlave is the only difference, -m 100 vs -m 25 (current). We
noticed that 5 FD is used for each slave. However, when there is a
load on the server, this puts us over the limit of 1024 FD per
process.
errors:
$ tail_maillog -e 'MULTIPLEXOR IS TERMINATING'
mimedefang-multiplexor[13484]: Error in Event_HandleEvent: Bad file
descriptor. MULTIPLEXOR IS TERMINATING.
mimedefang-multiplexor[25759]: Error in Event_HandleEvent: Bad file
descriptor. MULTIPLEXOR IS TERMINATING.
mimedefang-multiplexor[13484]: Error in Event_HandleEvent: Bad file
descriptor. MULTIPLEXOR IS TERMINATING.
mimedefang-multiplexor[25759]: Error in Event_HandleEvent: Bad file
descriptor. MULTIPLEXOR IS TERMINATING.
We tried to do a ulimit -n 2048 before running this command via sv
user which happens to be sv. SV was setup with noshell and nologin.
We even setup a shell, did a ulimit -n 2048 and try to run the
multiplexor.
Has anyone seen this? If so, then what is a solution I can try?
We are running 2 dual core AMD CPUs. We would like this to replace 6
mimedefang servers we used to have for virus and spamassassin.
Any help would be appreciated.
thanks,
Joong Kim
More information about the MIMEDefang
mailing list