spamass-milt-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: spamass-milter hangs on FreeBSD 5.3


From: Ludger Bolmerg
Subject: Re: spamass-milter hangs on FreeBSD 5.3
Date: Tue, 5 Apr 2005 22:50:28 +0200 (CEST)


I am using spamass-milter 0.3.0 from the ports collection on FreeBSD
5.3.  SA version is 3.0.2 and sendmail 8.13.1

spamass-milter is running ok for a while before the process hangs.

ps   shows that the process is stopped
  798  ??  TLs   11:26.76 /usr/local/sbin/spamass-milter -f -p 
/var/run/spamass-milter.sock

What does "ps axlHp 798" print?  That will print the all the threads
plus what they are doing in the kernel.

#ps axlHp 798
  UID   PID  PPID CPU PRI NI   VSZ  RSS MWCHAN STAT  TT       TIME COMMAND
0 798 1 0 20 0 12900 720 - TLs ?? 11:26.76 /usr/local/sb
in/spamass-milter -f -p /var/run/spamass
0 798 1 0 96 0 12900 720 - TLs ?? 11:26.76 /usr/local/sb
in/spamass-milter -f -p /var/run/spamass
0 798 1 0 96 0 12900 720 - TLs ?? 11:26.76 /usr/local/sb
in/spamass-milter -f -p /var/run/spamass
0 798 1 0 96 0 12900 720 - TLs ?? 11:26.76 /usr/local/sb
in/spamass-milter -f -p /var/run/spamass
0 798 1 0 96 0 12900 720 - TLs ?? 11:26.76 /usr/local/sb
in/spamass-milter -f -p /var/run/spamass
0 798 1 0 -20 0 12900 720 - TLs ?? 11:26.76 /usr/local/sb
in/spamass-milter -f -p /var/run/spamass
0 798 1 0 -16 0 12900 720 spltwt TLs ?? 11:26.76 /usr/local/sb
in/spamass-milter -f -p /var/run/spamass
0 798 1 0 96 0 12900 720 - TLs ?? 11:26.76 /usr/local/sb
in/spamass-milter -f -p /var/run/spamass
0 798 1 0 20 0 12900 720 - TLs ?? 11:26.76 /usr/local/sb
in/spamass-milter -f -p /var/run/spamass


There were some deadlock fixes
that went into libpthread after 5.3 was released.  Until 5.4 is
released, you can drop back to libc_r threading with this entry in
/etc/libmap.conf.  It shouldn't hurt spamass-milter's performance since
it doesn't really use much CPU anyhow.

[spamass-milter]
libpthread.so.1 libc_r.so.5


I'll try it out and let you know if it is working.


ps also shows some idle spamc processes and a few zombies.

Unfortunately I cannot kill the spamass-milter process.  Even kill -9
do not remove the process from the system, so I am not able to create
a core dump.

You can use the "gcore" command to generate a coredump from a running
process. Handy in situations like this.


I used "gdb 768" which gave me a kernel panic. Unless you would need additional information from gcore I would rather not try it now.

Thanks a lot
Ludger





reply via email to

[Prev in Thread] Current Thread [Next in Thread]