Reducing Spamassassin process count

Tags:

Dramatically reduce memory footprint by changing the number of threads that spamassassin will execute at once from 5 down to 1.

Centos: In /etc/sysconfig/spamassassin --

change:

SPAMDOPTIONS="-d -c -m<strong>5</strong> -H"

to

SPAMDOPTIONS="-d -c -m<strong>1</strong> -H"

Debian: in /etc/default/spamassassin, change:

OPTIONS="--create-prefs --max-children <strong>5</strong> --helper-home-dir"

to

OPTIONS="--create-prefs --max-children <strong>1</strong> --helper-home-dir"