Hello Matt, Thank you for ur answer, Matt Kettler dijo: > At 04:13 PM 11/18/2004, Matias Lopez Bergero wrote: >>I'm seeing a heavy cpu usage in some process of spamd for a long time and >>sometimes they just hang there until I kill them(usage goes from 80% to >> 97%). >>Also my system is reporting a high iowait load and a high disk usage that >>stops if a shutdown spammassassin processes. >> >>This is normal? >>Anyone with the same problem?? > > Define "for a long time"... Minutes? Hours?
Less than a minute, but wen it hangs, it hangs there until i kill it. I haved noticed that this spamd process hanging is ocurring with the same user almost all the times. That means anything to you? > From the sounds of it, it looks like SA is doing an opportunistic expiry > on your bayes DB.. But that should only take a few minutes unless things > are really haywire or your box is really slow. > > Try running a sa-learn -D --force-expire on the command line and see if > that runs smoothly. > > Also, look around for bayes_toks.expire<pid #> files laying around next to > your bayes DB.. that's a very clear sign SA is being killed while running > expiry. > I'm going to try that. Thanks again! BR, Matías.