perl zombie processes

expream

Verified User
Joined
Sep 17, 2005
Messages
53
Hello!

I have installed MailScanner+Smapd+Clamav.. and now i have Perl Zombie processes... does any one have solutions? (freebsd 4.11)

Max
 
This is the spamd process. It's a problem with forking and child processes (yadda yadda yadda.) An additional problem is the large amounts of memory each spamd perl process begins to use.

Lazy fix: use cron to restart spamd once a day.

Better yet: Use flags in /usr/local/etc/rc.d/sa-spamd.sh to limit the number of children spawned and the number of connections each child will handle prior to exiting. Look for the spamd_flags line and change it to something like this:

spamd_flags=${spamd_flags:-"-c -d -m 2 --max-conn-per-child=10 -r ${spamd_pidfile} "}

Where -m=number of children. (a quick look on Google will show you that you don't need many children or connections per child to handle a busy mail server.
 
Last edited:
Back
Top