UnixServerAdmin

Server Administration & Management

Spamd causing high server loads (Exim)

When dealing with load issues, certain times you will see “spamd” in the top list. By default 5 spamd process will be started when exim starts. You can reduce/increase the spamd processes as follows.

1. open /etc/rc.d/init.d/exim

# vi /etc/rc.d/init.d/exim

2. search “spamd” or “maxchildren”

3. edit “–max-children=${maxchildren=5}”

Note:- Spamd consumes lot of memory and increasing it may increase memory usage and in turn increasing load. Reducing spamd too much also hangs exim (slow mail processing) and can cause load too. Use your judgment here.

Advertisements

July 28, 2011 Posted by | Exim | | Leave a comment