Problems with spamd - Huge server load

mattijs

Verified User
Joined
Nov 1, 2004
Messages
26
My server load is around 6.0 at the moment.
Checked with TOP command and found:

2054 tobe 25 0 28824 23m 6228 R 20.3 2.4 223:37.99 spamd
2055 tobe 25 0 29404 23m 6228 R 20.3 2.4 165:32.36 spamd
19787 tobe 25 0 32124 24m 6228 R 20.3 2.5 23:37.93 spamd
19801 tobe 25 0 29332 23m 6228 R 20.3 2.4 50:48.84 spamd
2052 tobe 25 0 29020 23m 6228 R 18.3 2.4 152:36.52 spamd

When I kill spamd and restart it, the load is okay for a while (below 0.3). Than it starts going back up. And the spamd threads are again showing up. Starting with one, after a while two times and in a couple of hours four times (as seen above) causing a load of around 6.0.

What can be causing this.
This problem is really urgent cause at the moment I need to restart spamd every hour, on a working server with 30 customers on it.

please help.

We run Redhat 9, with spamassassin 3.0
 
spamd uses a lot of system resources.

On today's internet SpamAssassin may no longer be a good idea.

I understand my argument is extremely controversial, but I still believe in it.

Which is why I wrote SpamBlocker.

This is the second current running thread on the same subject.

Jeff
 
return to other thread

Okay, lets return to the original thread than. I posted here also ,cause I thougjt it should be under Email issues.

I do use spamblocker, and I have many domains running on spamblocker and spamassassin, and my server load is absolutely very low.

The high usage of spamd MUST be some kind of loop going on, but I cannot figure out how to solve this.

The problem is very urgent, because I now have to reset my spamd every hour, or my server load goes through the roof!
 
mattijs... what did you do to fix this? I am suddenly experiencing the same sort of issue.
 
update and revert first with basic exim+SA rules then add yours

It should be no big problem with SA

Then you can optimize concurent connexion aso.
Check SA manual.

I advice you to have 1024Mb memory.
 
I have the same problem here. I changed the OS of some servers from RH9 to Centos 4.4.
After this, spamd keeps looping for some of the domains that are piling up mail since the owners do not seem to care to delete the mail from the server.
When the disk-limit is reached the problem starts. My observation is that not all domains with a lack of diskspace have this problem.
Another observation is that after a few kills (and deleting the lock-file in /home/xxxx/.spamassassin) the problem for that user seems to disappear.

Any bright ideas???
 
We to have the same problem running on Centos, although we noticed this after adding a particular domain.

I notice matt's spamd is running under the user tobe.
Our multiple spamd's were running under one particular domain aswell and eventually took the load up around 600 when left for a while.
When we looked in the main mail log there were emails flying in every second from that domain.
We are thinking of routing that domains email through a 3rd party spam filter offsite and then returning the filtered mail to us for that particular problimatic domain
 
I hate SpamAssassin.

That said, SpamBlocker 3 is coming out (probably on Christmas Day) and SpamBlocker 4 will attempt to resolve how SpamAssassin gets called; perhaps solving the serverload problem.

No promises, though.

We offer an offsite third-party SpamFilter for folk who really need it.

Jeff
 
Back
Top