http://bugzilla.spamassassin.org/show_bug.cgi?id=3828





------- Additional Comments From [EMAIL PROTECTED]  2004-10-04 11:09 -------
I'm experiencing the same problem with spamc hanging on my mail server:
bash-2.05b# ps aux | grep spamc
qscand   23346  0.0  0.0  1904    4 ?        S    19:40   0:00 /usr/bin/spamc 
-c -f -d 192.168.1.23 -u 
[EMAIL PROTECTED]
bash-2.05b# strace -f -p 23346
recv(3, 

In the mean time a spamd child hangs on the spamd server:
bash-2.05a# ps aux | grep spamd
spamc  19519  104.1  2.7    22084  14128  ??  R     6:40PM  11:46.04 spamd 
child                                                                           
                            
spamc  19507   0.0  1.8    19728   9608  ??  S     6:40PM   0:01.82 perl -T -w 
/usr/bin/spamd -i 
192.168.1.23 -A 192.168.1.18 -x -u spamc
spamc  19509   0.0  2.4    20676  12576  ??  S     6:40PM   0:00.82 spamd child 
                                                                                
                      
spamc  19510   0.0  2.3    20260  12132  ??  S     6:40PM   0:00.40 spamd child 
                                                                                
                      

Finally, spamc times out while spamd keeps eating CPU. This is the situation on 
the spamd server:
bash-2.05a# lsof | grep 19519
perl      19519  spamc  cwd    VDIR       14,2       6528        2 / 
(/dev/disk0s2)
perl      19519  spamc    0r   VCHR        3,2        0t0 34932996 /dev/null
perl      19519  spamc    1w   VCHR        3,2  0t1012094 34932996 /dev/null
perl      19519  spamc    2w   VCHR        3,2  0t1012094 34932996 /dev/null
perl      19519  spamc    4r   VREG       14,2      73087   377323 / 
(/dev/disk0s2)
perl      19519  spamc    5w   VREG       14,2     502932   377858 / 
(/dev/disk0s2)
perl      19519  spamc    6u   inet 0x02f85f4c        0t0      TCP 
192.168.1.23:783 (LISTEN)
perl      19519  spamc    7u   inet 0x02f874cc        0t0      TCP 
192.168.1.23:783->192.168.1.18:
48499 (CLOSE_WAIT)

When all the spamd childs are blocked like this one my spamd server just stops 
processing requests to 
port 783.

I set up a cron every 30 minutes to run "kill `ps -aex | grep 'spamd child' | 
grep '??  R' | grep -v 'grep' | 
awk '{print $1}'`". This is a temporary solution of course.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to