Running Edgy, latest ISPConfig, updated & upgraded recently. Everything was running just fine until yesterday afternoon when the server slowed to a crawl. Couldn't figure out what was going on. After killing most of the processes, then starting them one-by-one, I've narrowed the problem down to something with Postfix and Procmail. I've tried rebooting, but as soon as the system comes back up, it starts up again. Using htop, clamscan and spamassassin seem to be the culprits. When this happens, everything slows way down. In fact, it takes a long time to issue any commands at all. However, with top, the memory footprint and cpu time for each of the processes is very small (0.1, or 0.0). There are just a lot of clam and spamassassin processes tied to mail user accounts. Here's the output from htop: If I use killall for both clamscan and for spamassassin, they'll go away, but quickly all come back, slowing down the system again. I don't want to lose the email that's in the queue, but how do I get these to "work"? I've got 512M memory and 1024M swap file. TIA, Paul
I'd try switching to using spamassassin in daemon mode. Install spamassassin in your host distro, and start spamd, change ~root/ispconfig/isp/conf/spamassassin.rc.master and instead of the "spamassassin" line, sustitute "| /usr/bin/spamc". Make some mail config change that will cause that change to be propagated out to the user's directories. As long as you're using a recent ISPConfig, it should pick up the user prefs through symlinks (as they can't be given on the spamc line). That should reduce the process overhead of spamassassin at least. I don't know how well it will affect your entire problem.
I'll give that a go, too. I think that clamav may be an issue, too, but it can't help with the spamassassin.
OK... Now, I need to know how to copy the same file forward across multiple subdirectories. I can edit the .spamassasinrc file but I've got about 100 email accounts that need the same edit done to them (really, I think it would have been better to have a symbolic link to a master file rather than each file individually needing to be edited...and maybe that's what I've got).