Wednesday, 16 January 2013

Limiting spamd process in cPanel servers

Recently I came across a situation in which spamd processes was causing high load in a cPanel server. We can easily solve this issue by editing /etc/cpspamd.conf.

Situation is that if you see the "top" command result you will find a lot of spamd process.

Solution:
====
vi /etc/cpspamd.conf

Reduce the following two values to a lower value below 5:

1) maxchildren
2) maxspare
====

This will solve the issue and it will also reduce load in the server.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.