I'm new to spamassassin and I'm having a serious problem. The problem is that the number of running spamd instances suddenly start increasing dramatically until the point all memory and swap space are used up, thus locking the system. This happens very quickly. It will go from 1 to 3 processes running to 600 or 700 process in a matter of a minute or so. I have discovered that the problem can be forced to happen by doing a syslog restart, using the stock init script on this Redhat 7.1 system. If I type "/etc/init.d/syslog restart", spamd immediately starts going crazy with increasing number of processes that do not end and will lock up the system within a minute or so. If I type "killall -HUP syslogd", spamd never seems to notice. I modified all scripts that do a syslog restart and partially solved the problem. But spamd still exhibits this behavior at seemingly random times, not associated with any restarting or HUP'ing of syslog. Except for these periodic problems, spamassassin runs beautifully, even under heavy loads
I have created a script that monitors the number of spamd processes running, and stops spamd, modifies qmail-scanner-queue.pl to not use spamassassin, and sleeps for 30 seconds if it detects that more than 15 instances are running. It then restarts spamd and changes qmail-scanner-queue.pl back. This works great at keeping spamd running nearly constantly, but obviously is not a satisfactory long-term solution to the problem. I have upgraded the Time::HiRes module as someone suggested in the archives. I also changed spamd to only do local tests (-L), but neither of these have helped. The system is RedHat 7.1, kernel version 2.4.9-34. qmail 1.03, spamassassin 2.60, perl 5.6.0. The system handles about 50,000 incoming messages per day. I'm starting spamd with -d -x -L -u Thanks in advance for any help solving this problem. Dennis Duval ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk