Red Hat Bugzilla – Bug 139834
Evolution launched spamd is still running after evolution is exited
Last modified: 2007-11-30 17:10:54 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2)
Description of problem:
A spamd daemon launched from Evolution 2 to do junk filtering does not
quit after the user has logged out.
Version-Release number of selected component (if applicable):
Steps to Reproduce:.
1. Start evolution
2. Start and fill in the first time wizard. During it setup up a
receving mail server and on the following "page" ensure that "Check
new messages for Junk contents" is ticked. Finish the rest of the wizard.
3. Send yourself a mail and then check your inbox.
4. Quit evolution.
5. Quit X.
One "/usr/bin/spamd --port 7830 --local --daemonize" and five "spamd
child" processes are left running.
spamd (and it's children) to quit when evolution is exited or at worse
when X is exited.
We are using FC3 in a multi user environment so the processes stack up
for each user who does this. It may also be worth noting that the
user's home directory is mounted on NFS and and older version of
spamassassin is already run on the incomming mail as it arrives on the
The version of spamassassin on the desktop is spamassassin-3.0.0-3 .
I'm also seeing this using home directories that are on a local disk.
In addition to the spamd processes I also get:
all left behined. These in turn keep /usr/libexec/gconfd-2 around,
but that will quit once the others are killed.
Colin - you beat me to it! I've slowly been building up these
"programs that keep running after logout" bugs.
ssh-agent is in bug 139372
artsd under GNOME is in bug 140262
A quick scan just now showed loads of ssh-agent, one lingering
evolution-data-server, several machines with multiple stray gam_server
and one left over esd. However there are not always clear steps for
reproducing some of these (I could not reliably reproduce left over
I may have made some possible progress with the evolution-data-server
(which I think is probably what is keeping the dspam processes
around). I noticed I kept getting messages logged on my firewall at
exactly the same time I killed the evolution-data-server. They are
all of the form:
IN=ppp0 OUT= MAC= SRC=184.108.40.206 DST=220.127.116.11 LEN=40 TOS=0x00
PREC=0x00 TTL=46 ID=12569 DF PROTO=TCP SPT=80 DPT=40563 WINDOW=0
RES=0x00 RST URGP=1
18.104.22.168 is ical.mac.com
Running netstat I see that evolution-data-server has the following
connections open right now (i.e when logged in):
tcp 1 0 user06.megabit.utoron:40774 homepage.mac.com:http
tcp 1 0 user06.megabit.utoron:40773 homepage.mac.com:http
tcp 1 0 user06.megabit.utoron:40771 ical.mac.com:http
tcp 1 0 user06.megabit.utoron:40772 ical.mac.com:http
My web calendars are only setup to check every 5 days, so I wouldn't
have expected any connections to be open at all, and certainly not for
them to be persistently in the CLOSE_WAIT state.
Do you think this is related?
I'm not that convinced because a netstat --inet over here shows spamd
is still running even though evolution-data-server has gone and there
are no lingering network connections.
There was an old "evolution-data-server hangs around" bug a year ago
but I'd be surprised if this is the same one...
Oh and I've filed gam_server keeps running as bug 140874
Undying evolution-data-server appears to be bug 134851 (it has a sibling for
bonobo-activation-server - bug 134849)
This appears to have been fixed in FC5's evolution-2.6.1-1.fc5.2...
Resolving fixed CURRENTRELEASE.