http://bugzilla.spamassassin.org/show_bug.cgi?id=3625
------- Additional Comments From [EMAIL PROTECTED] 2004-08-25 08:02 -------
We use exiscan so we don't use spamc. Here's what I see:
# /usr/bin/spamd -d -x -u mail -D
trying to connect to syslog/unix...
no error connecting to syslog/unix
logging enabled:
facility: mail
socket: unix
output: syslog
creating INET socket:
Listen: 128
LocalAddr: 127.0.0.1
LocalPort: 783
Proto: 6
ReuseAddr: 1
Type: 1
debug: SpamAssassin version 3.0.0-rc1
debug: Score set 0 chosen.
# ps awwwux | grep spamd
mail 31551 19.0 8.7 24284 22320 ? S 08:55 0:02 /usr/bin/perl -
w /usr/bin/spamd -d -x -u mail -D
mail 31552 0.1 8.7 24284 22320 ? S 08:55 0:00 spamd child
mail 31553 0.1 8.7 24284 22320 ? S 08:55 0:00 spamd child
mail 31554 0.0 8.7 24284 22320 ? S 08:55 0:00 spamd child
mail 31555 0.0 8.7 24284 22320 ? S 08:55 0:00 spamd child
mail 31556 0.0 8.7 24284 22320 ? S 08:55 0:00 spamd child
root 31561 0.0 0.2 1716 584 pts/0 R 08:55 0:00 grep spamd
# service syslog-ng restart
; In another window:
# strace -s 2048 -f -p 31551 -o dbg.txt
# kill -9 31556
The strace window goes nuts and never stops.
# ps awwwux | grep spamd
mail 31552 0.0 8.7 24284 22320 ? S 08:55 0:00 spamd child
mail 31553 0.0 8.7 24284 22320 ? S 08:55 0:00 spamd child
mail 31554 0.0 8.7 24284 22320 ? S 08:55 0:00 spamd child
mail 31555 0.0 8.7 24284 22320 ? S 08:55 0:00 spamd child
mail 31551 1.9 8.7 24284 22320 ? T 08:55 0:02 /usr/bin/perl -
w /usr/bin/spamd -d -x -u mail -D
mail 31629 0.1 8.7 24284 22320 ? T 08:57 0:00 /usr/bin/perl -
w /usr/bin/spamd -d -x -u mail -D
mail 31633 33.3 8.7 24284 22320 ? R 08:57 0:10 /usr/bin/perl -
w /usr/bin/spamd -d -x -u mail -D
root 32606 0.0 0.2 1724 596 pts/0 S 08:57 0:00 grep spamd
mail 32608 0.0 0.0 0 0 ? Z 08:57 0:00 [spamd
<defunct>]
; Parent is gone? Killing child seems to have spawned off three parent-like
processes.
; Look at several more ps listings. One of the new "parents" is consuming CPU
like mad:
ps awwwux | grep spamd
mail 31552 0.0 8.7 24284 22320 ? S 08:55 0:00 spamd child
mail 31553 0.0 8.7 24284 22320 ? S 08:55 0:00 spamd child
mail 31554 0.0 8.7 24284 22320 ? S 08:55 0:00 spamd child
mail 31555 0.0 8.7 24284 22320 ? S 08:55 0:00 spamd child
mail 31551 1.5 8.7 24284 22320 ? T 08:55 0:02 /usr/bin/perl -
w /usr/bin/spamd -d -x -u mail -D
mail 31629 0.0 8.7 24284 22320 ? T 08:57 0:00 /usr/bin/perl -
w /usr/bin/spamd -d -x -u mail -D
mail 31633 32.9 8.7 24284 22320 ? R 08:57 0:22 /usr/bin/perl -
w /usr/bin/spamd -d -x -u mail -D
mail 1315 0.0 0.0 0 0 ? Z 08:58 0:00 [spamd
<defunct>]
root 1317 0.0 0.2 1720 588 pts/0 R 08:58 0:00 grep spamd
ps awwwux | grep spamd
mail 31552 0.0 8.7 24284 22320 ? S 08:55 0:00 spamd child
mail 31553 0.0 8.7 24284 22320 ? S 08:55 0:00 spamd child
mail 31554 0.0 8.7 24284 22320 ? S 08:55 0:00 spamd child
mail 31555 0.0 8.7 24284 22320 ? S 08:55 0:00 spamd child
mail 31551 1.2 8.7 24284 22320 ? T 08:55 0:02 /usr/bin/perl -
w /usr/bin/spamd -d -x -u mail -D
mail 31629 0.0 8.7 24284 22320 ? T 08:57 0:00 /usr/bin/perl -
w /usr/bin/spamd -d -x -u mail -D
mail 31633 32.7 8.7 24284 22320 ? T 08:57 0:39 /usr/bin/perl -
w /usr/bin/spamd -d -x -u mail -D
mail 2966 0.0 8.7 24284 22320 ? R 08:59 0:00 /usr/bin/perl -
w /usr/bin/spamd -d -x -u mail -D
root 2968 0.0 0.2 1716 596 pts/0 S 08:59 0:00 grep spamd
; Kill strace which is still running.
You can get the strace at:
http://www.blaises.com/sa/dbg.txt
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.