Mailing List Archive

multiple instances of spamd running - system almost locked up
Hi

I have taken a quick look through the archives but the keywords I could
think of where so general I didn't find much usefull, so excuse me if
this has been answered before.

Last night I decided to train spamassassin on almost all e-mail messages
I have collected so far because more and more spam was getting through.

I probably messed my config up because today retrieving my new e-mail
messages caused spamd to use over 80% of my system's memory - using
almost 100% SWAP and between 10 and 60% CPU.

I finally killed of all spamd processes and I have disabled it for now.

I noticed that there were several spamd processes running at the same
time (command /usr/bin/perl /usr/sbin/spamd -d -c -a -L)

Here's an overview of what I did (wrong):
I used find to create a list off all mbox files in my ~/evolution
directory. I then edited this file to create a bash-file with a list of
commands like:
sa-learn --ham --showdots /home/m8ram/evolution/local/ces/mbox

During this run I noticed that I forgot the --mbox option.
I then tried to kill the script with CTRL-C but I appeared to be killing
sa-learn processes instead of the script:
+ sa-learn --ham --showdots /home/m8ram/evolution/local/Bram/subfolders/linux/subfolders/suse/mbox
./mbox.list: line 20: 6886 Killed sa-learn --ham --showdots /home/m8ram/evolution/local/Bram/subfolders/linux/subfolders/suse/mbox

So I used kill to kill the script:
+ sa-learn --ham --showdots /home/m8ram/evolution/local/Bram/subfolders/linux/subfolders/nllgg/mbox
interrupted at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/CmdLearn.pm line 249.
Terminated

I then edited the mbox.list file to include the --mbox option and I
restarted the learning process.

This must have messed something up because now I get the behaviour I
described earlier.

The contents of .spamassassin looks like:
m8ram@linux:~> ls -lh .spamassassin/
total 12M
-rw------- 1 m8ram root 324K 2003-09-28 15:42 auto-whitelist
-rw------- 2 m8ram users 1.7M 2004-02-17 16:40 auto-whitelist.dir
-rw------- 2 m8ram users 1.7M 2004-02-17 16:40 auto-whitelist.pag
-rw------- 1 m8ram root 5.0M 2004-02-17 17:59 bayes_seen
-rw------- 1 m8ram users 5.1M 2004-02-17 19:03 bayes_toks
-rw------- 1 m8ram users 0 2004-02-17 18:27 bayes_toks.new
-rw-rw-rw- 1 m8ram users 1.5K 2003-11-24 16:55 user_prefs
-rw-rw-rw- 1 m8ram users 1.5K 2003-11-24 16:53 user_prefs~

I found in the archives somewhere the suggestion to erase the bayes*
files and restart the training to someone who like myself forgot the
--mbox option. Would this help in my situation as well?

I use:
m8ram@linux:~> rpm -q evolution
evolution-1.4.5-SuSE.ulb.1
m8ram@linux:~> rpm -q spamassassin
spamassassin-2.55-48
m8ram@linux:~> which spamassassin
/usr/bin/spamassassin
m8ram@linux:~> /usr/bin/spamassassin -V
SpamAssassin version 2.60
m8ram@linux:~> which perl
/usr/bin/perl
m8ram@linux:~> perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0)

TIA

Bram
--
# Mertens Bram "M8ram" <bram-mertens@linux.be> Linux User #249103 #
# SuSE Linux 8.2 (i586) kernel 2.4.20-4GB i686 256MB RAM #
# 7:20pm up 25 days 22:59, 7 users, load average: 0.04, 0.38, 1.64 #