After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 268852 - starts spamd and never stops it
starts spamd and never stops it
Status: RESOLVED OBSOLETE
Product: evolution
Classification: Applications
Component: Mailer
2.12.x (obsolete)
Other All
: High major
: Future
Assigned To: evolution-mail-maintainers
Evolution QA team
: 354169 502239 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-10-27 15:53 UTC by Benoît Dejean
Modified: 2013-07-08 11:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Benoît Dejean 2004-10-27 15:53:06 UTC
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=278447

here my originial bugreport

today i've upgrade from 1.5.x and evolution's spamassasin managing
behaviour changed.

On incoming mail, evolution starts __spamd__. Evo1.5 used to start
a new spamassassin. The problem is that spamd is not stopped when there no
longer any mail to scan. Spamd eats up to 20MB of memory. But the
worst thing : it's started regardless of system-wide settings -> spamd
is started with 5 childs ! (default)


 6803 benoit 15 0 31360 24m 8512 S 9.7 4.9 0:00.50 spamd
 6802 benoit 16 0 31160 24m 8512 S 1.0 4.8 0:00.28 spamd
 6794 benoit 22 0 31100 24m 8512 S 0.0 4.8 0:01.22 spamd
 6801 benoit 19 0 31100 24m 8512 S 0.0 4.8 0:00.00 spamd
 6804 benoit 18 0 31100 24m 8512 S 0.0 4.8 0:00.00 spamd
 6805 benoit 22 0 31100 24m 8512 S 0.0 4.8 0:00.00 spamd

this make evolution+spamassassin totaly unusable because it's too much
memory. i'm using evolution on my laptop which is obviously not a mail
server. this is a total regression.
Comment 1 Jeffrey Stedfast 2005-02-24 19:46:45 UTC
I'm not so sure this is a bug... we can't be sure that other processes
aren't using the daemon.

and it *is* a daemon... 
Comment 2 Benoît Dejean 2005-02-24 20:01:23 UTC
yes, it's a daemon. But if evolution takes the responsability to start
it, i think evolution should also shut it down
Comment 3 Jeffrey Stedfast 2005-02-24 20:33:22 UTC
JP says not a regression so punting from 2.1

also, I've been told that you can disable spamd from being spawned and
haave evo just use the spamassassin command by unchecking a prefs
checkbox for it.
Comment 4 Benoît Dejean 2005-02-24 20:44:26 UTC
ahaha

My spamd is 16MB. I receive about 20 mails/day. So this means that i
have to run a daemon eating 16MB only for these few emails. Evo itself
is 30MB. -> 46MB = 17% of RAM on a 256MB desktop computer.

Thunderbird doesn't require this and doesn't that much memory.

See http://bugzilla.gnome.org/show_bug.cgi?id=272411.

I use spamd because evolution requires it. A mailer without spam
checking is useless. I wish i was able to run the spam client without
running a daemon, juste like bogofilter.

Thanks.
Comment 5 Rodney Dawes 2005-03-09 17:32:52 UTC
You can use spamassassin without using the daemon. Make sure that you
configure evolution to not use the daemon, and it will use the
"spamassassin" command directly.
Comment 6 Benoît Dejean 2005-03-09 18:46:39 UTC
How ?

Why does evolution starts spamd if it can use spamassassin ?
Comment 7 Radek Doulik 2005-03-15 11:11:07 UTC
you may set /apps/evolution/mail/junk/sa/use_daemon to false in
gconf-editor.

evolution terminates spamd on exit
Comment 8 Nickolay V. Shmyrev 2005-10-05 17:36:34 UTC
Well, but the problem is also that evolution starts spamd with default options and 
it spams 5 children. So much childred isn't needed at all, they used for
multiuser processing. 

You _must_ pass -m1 option to spamd otherwise evolution with spam checking is
completely unusable.
Comment 9 Justin Mason 2005-10-05 18:46:41 UTC
quoting from my comment at
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169903 --

'FWIW, I agree -- 5 children makes sense in a multi-user, lots of mail delivered
in parallel, environment, which does not describe the Evolution use-case.
BTW SA 3.1.0 is better about scaling the number of children to fit the load.'

(I'm one of the SA pmc btw, so I'm reasonably authoritative on spamd issues.)
Comment 10 vivek jain 2005-10-06 11:26:31 UTC
committed the fix to CVS head.
Comment 11 André Klapper 2006-09-04 06:29:59 UTC
this isn't fixed at all in 2.7.92.
Comment 12 Poornima 2006-09-05 05:04:33 UTC
*** Bug 354169 has been marked as a duplicate of this bug. ***
Comment 13 Poornima 2006-09-05 05:10:01 UTC
This bug has to be fixed as soon as possible.
Varadhan: Bug is already there in novell bugzilla with duplicate reports as well.
In my system I generally see more then 15 spamd running.
Comment 14 André Klapper 2006-09-05 09:37:00 UTC
poornima: novell bugzilla id?
Comment 15 Akhil Laddha 2007-08-22 09:05:34 UTC
https://bugzilla.novell.com/show_bug.cgi?id=168705

run 'ps -ux | grep evolution'.

see the list of spamd running.

pnayak     494  0.0  0.1  27988  3496 ?        Ss   Apr18   0:01 /usr/bin/perl
-T -w /usr/sbin/spamd --socketpath
/home/pnayak/.evolution/cache/tmp/spamd-socket-path-Seq8G6 --local
--max-children=1 --pidfile
/home/pnayak/.evolution/cache/tmp/spamd-pid-file-HwVdSU
pnayak    2469  0.0  0.1  27996  3496 ?        Ss   Apr18   0:01 /usr/bin/perl
-T -w /usr/sbin/spamd --socketpath
/home/pnayak/.evolution/cache/tmp/spamd-socket-path-3P7i0t --local
--max-children=1 --pidfile
/home/pnayak/.evolution/cache/tmp/spamd-pid-file-nd5Qev
pnayak    2960  0.0  1.2  27980 25100 ?        Ss   Apr18   0:01 /usr/bin/perl
-T -w /usr/sbin/spamd --socketpath
/home/pnayak/.evolution/cache/tmp/spamd-socket-path-q9q3AO --local
--max-children=1 --pidfile
/home/pnayak/.evolution/cache/tmp/spamd-pid-file-VJUf9k
pnayak    5552  0.0  0.1  27980  3492 ?        Ss   Apr18   0:01 /usr/bin/perl
-T -w /usr/sbin/spamd --socketpath
/home/pnayak/.evolution/cache/tmp/spamd-socket-path-CCw021 --local
--max-children=1 --pidfile
/home/pnayak/.evolution/cache/tmp/spamd-pid-file-hFUy0f
pnayak    6223  0.0  0.1  27980  3496 ?        Ss   Apr18   0:01 /usr/bin/perl
-T -w /usr/sbin/spamd --socketpath
/home/pnayak/.evolution/cache/tmp/spamd-socket-path-Hxh3nf --local
--max-children=1 --pidfile
/home/pnayak/.evolution/cache/tmp/spamd-pid-file-NA7Q7c
pnayak    8855  0.0  0.5  27980 10628 ?        Ss   Apr19   0:01 /usr/bin/perl
-T -w /usr/sbin/spamd --socketpath
/home/pnayak/.evolution/cache/tmp/spamd-socket-path-lm2UAM --local
--max-children=1 --pidfile
/home/pnayak/.evolution/cache/tmp/spamd-pid-file-fSBfpT
pnayak   19745  0.0  0.6  27996 13736 ?        Ss   Apr19   0:01 /usr/bin/perl
-T -w /usr/sbin/spamd --socketpath
/home/pnayak/.evolution/cache/tmp/spamd-socket-path-ert7LH --local
--max-children=1 --pidfile
/home/pnayak/.evolution/cache/tmp/spamd-pid-file-1tBr9I
pnayak   22722  0.0  1.2  27988 25124 ?        Ss   Apr19   0:01 /usr/bin/perl
-T -w /usr/sbin/spamd --socketpath
/home/pnayak/.evolution/cache/tmp/spamd-socket-path-Kkn88o --local
--max-children=1 --pidfile
/home/pnayak/.evolution/cache/tmp/spamd-pid-file-TTb5sU
pnayak   22867  0.0  1.2  27996 25124 ?        Ss   Apr19   0:01 /usr/bin/perl
-T -w /usr/sbin/spamd --socketpath
/home/pnayak/.evolution/cache/tmp/spamd-socket-path-BEdizQ --local
--max-children=1 --pidfile
/home/pnayak/.evolution/cache/tmp/spamd-pid-file-uIgfL4
pnayak   22972  0.0  1.2  28004 25132 ?        Ss   Apr19   0:01 /usr/bin/perl
-T -w /usr/sbin/spamd --socketpath
/home/pnayak/.evolution/cache/tmp/spamd-socket-path-fs85A0 --local
--max-children=1 --pidfile
/home/pnayak/.evolution/cache/tmp/spamd-pid-file-eOsGvz
pnayak   23092  0.0  1.2  27996 25116 ?        Ss   Apr19   0:01 /usr/bin/perl
-T -w /usr/sbin/spamd --socketpath
/home/pnayak/.evolution/cache/tmp/spamd-socket-path-e6xPj5 --local
--max-children=1 --pidfile
/home/pnayak/.evolution/cache/tmp/spamd-pid-file-9Ezfpx
pnayak   23173  0.0  1.0  27996 21432 ?        Ss   Apr19   0:01 /usr/bin/perl
-T -w /usr/sbin/spamd --socketpath
/home/pnayak/.evolution/cache/tmp/spamd-socket-path-7LcqaS --local
--max-children=1 --pidfile
/home/pnayak/.evolution/cache/tmp/spamd-pid-file-tOa9Iv
pnayak   23225  0.0  0.1  28004  3508 ?        Ss   Apr19   0:01 /usr/bin/perl
-T -w /usr/sbin/spamd --socketpath
/home/pnayak/.evolution/cache/tmp/spamd-socket-path-55Tz1d --local
--max-children=1 --pidfile
/home/pnayak/.evolution/cache/tmp/spamd-pid-file-1pNNmw
pnayak   23286  0.0  0.8  27996 16812 ?        Ss   Apr19   0:01 /usr/bin/perl
-T -w /usr/sbin/spamd --socketpath
/home/pnayak/.evolution/cache/tmp/spamd-socket-path-8reeBK --local
--max-children=1 --pidfile
/home/pnayak/.evolution/cache/tmp/spamd-pid-file-JS6Gzm
pnayak   23339  0.0  0.5  28004 11052 ?        Ss   Apr19   0:01 /usr/bin/perl
-T -w /usr/sbin/spamd --socketpath
/home/pnayak/.evolution/cache/tmp/spamd-socket-path-uo3tax --local
--max-children=1 --pidfile
/home/pnayak/.evolution/cache/tmp/spamd-pid-file-DSE84n
pnayak   23420  0.0  0.1  27996  3504 ?        Ss   Apr19   0:01 /usr/bin/perl
-T -w /usr/sbin/spamd --socketpath
/home/pnayak/.evolution/cache/tmp/spamd-socket-path-PxLkNG --local
--max-children=1 --pidfile
/home/pnayak/.evolution/cache/tmp/spamd-pid-file-cY8d3v
pnayak   23480  0.0  0.1  27996  3504 ?        Ss   Apr19   0:01 /usr/bin/perl
-T -w /usr/sbin/spamd --socketpath
/home/pnayak/.evolution/cache/tmp/spamd-socket-path-HQ1G2L --local
--max-children=1 --pidfile
/home/pnayak/.evolution/cache/tmp/spamd-pid-file-aYpGUH
pnayak   23541  0.0  0.8  27996 18660 ?        Ss   Apr19   0:02 /usr/bin/perl
-T -w /usr/sbin/spamd --socketpath
/home/pnayak/.evolution/cache/tmp/spamd-socket-path-j3pJjL --local
--max-children=1 --pidfile
/home/pnayak/.evolution/cache/tmp/spamd-pid-file-wuUH0G
pnayak   28023  0.0  1.1  27996 24656 ?        Ss   Apr19   0:01 /usr/bin/perl
-T -w /usr/sbin/spamd --socketpath
/home/pnayak/.evolution/cache/tmp/spamd-socket-path-icKgK1 --local
--max-children=1 --pidfile
/home/pnayak/.evolution/cache/tmp/spamd-pid-file-A3HhEB
pnayak     760  0.0  0.5  27996 12436 ?        Ss   Apr20   0:04 /usr/bin/perl
-T -w /usr/sbin/spamd --socketpath
/home/pnayak/.evolution/cache/tmp/spamd-socket-path-LMt9f5 --local
--max-children=1 --pidfile
/home/pnayak/.evolution/cache/tmp/spamd-pid-file-wdnlIW
pnayak   14011  0.0  1.2  28000 25132 ?        Ss   Apr21   0:01 /usr/bin/perl
-T -w /usr/sbin/spamd --socketpath
/home/pnayak/.evolution/cache/tmp/spamd-socket-path-nMhx8v --local
--max-children=1 --pidfile
/home/pnayak/.evolution/cache/tmp/spamd-pid-file-mNGAEI
pnayak   16269  0.0  1.2  27992 25128 ?        Ss   Apr21   0:01 /usr/bin/perl
-T -w /usr/sbin/spamd --socketpath
/home/pnayak/.evolution/cache/tmp/spamd-socket-path-ZTrgji --local
--max-children=1 --pidfile
/home/pnayak/.evolution/cache/tmp/spamd-pid-file-snXygR
pnayak   16444  0.0  1.1  27988 24868 ?        Ss   Apr21   0:01 /usr/bin/perl
-T -w /usr/sbin/spamd --socketpath
/home/pnayak/.evolution/cache/tmp/spamd-socket-path-qsf0tr --local
--max-children=1 --pidfile
/home/pnayak/.evolution/cache/tmp/spamd-pid-file-7HESWS

Valid in OpenSUSE 10.3 also.
Comment 16 Matthew Barnes 2008-03-11 00:33:48 UTC
Bumping version to a stable release.
Comment 17 Akhil Laddha 2009-05-27 04:34:45 UTC
*** Bug 502239 has been marked as a duplicate of this bug. ***
Comment 18 Matthew Barnes 2013-07-08 11:25:27 UTC
Dunno if this is even still an issue, but I removed the code that spawns spamd for Evolution 3.9.5.  See bug 703490.

Closing as OBSOLETE.