http://bugzilla.spamassassin.org/show_bug.cgi?id=3625
------- Additional Comments From [EMAIL PROTECTED] 2004-08-25 20:38 -------
Understood. Ok, back to "virgin" spamd from RC1:
# /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 spam
mail 1358 1.5 7.1 20264 18360 ? S 21:23 0:00 /usr/bin/perl -
T -w /usr/bin/spamd -d -x -u mail -D
mail 1360 0.0 7.1 20264 18360 ? S 21:23 0:00 spamd child
mail 1361 0.0 7.1 20264 18360 ? S 21:23 0:00 spamd child
mail 1362 0.0 7.1 20264 18360 ? S 21:23 0:00 spamd child
mail 1363 0.0 7.1 20264 18360 ? S 21:23 0:00 spamd child
mail 1364 0.0 7.1 20264 18360 ? S 21:23 0:00 spamd child
; In another window, strace the parent process:
# strace -s 2048 -f -p 1358 -o dbg2.txt
Process 1358 attached - interrupt to quit
; Back to original window:
# service syslog-ng restart
; Send TERM to a child:
# kill -TERM 1364
; strace in other window goes nuts.
; New processes for spamd:
# ps awwwux | grep spamd
mail 1360 0.0 7.1 20264 18356 ? S 21:23 0:00 spamd child
mail 1361 0.0 7.1 20264 18356 ? S 21:23 0:00 spamd child
mail 1362 0.0 7.1 20264 18356 ? S 21:23 0:00 spamd child
mail 1363 0.0 7.1 20264 18356 ? S 21:23 0:00 spamd child
mail 1358 0.1 7.1 20264 18356 ? T 21:23 0:00 /usr/bin/perl -
T -w /usr/bin/spamd -d -x -u mail -D
mail 1440 0.0 7.1 20264 18356 ? T 21:26 0:00 /usr/bin/perl -
T -w /usr/bin/spamd -d -x -u mail -D
mail 1442 17.4 7.1 20264 18356 ? T 21:26 0:10 /usr/bin/perl -
T -w /usr/bin/spamd -d -x -u mail -D
root 4515 0.0 0.2 1720 588 pts/1 S 21:27 0:00 grep sp
; Wait a little and do again. Note that one of the newly spawned processes is
eating CPU:
ps awwwux | grep spamd
mail 1360 0.0 7.1 20264 18332 ? S 21:23 0:00 spamd child
mail 1361 0.0 7.1 20264 18332 ? S 21:23 0:00 spamd child
mail 1362 0.0 7.1 20264 18332 ? S 21:23 0:00 spamd child
mail 1363 0.0 7.1 20264 18332 ? S 21:23 0:00 spamd child
mail 1358 0.1 7.1 20264 18332 ? T 21:23 0:00 /usr/bin/perl -
T -w /usr/bin/spamd -d -x -u mail -D
mail 1440 0.0 7.1 20264 18332 ? T 21:26 0:00 /usr/bin/perl -
T -w /usr/bin/spamd -d -x -u mail -D
mail 1442 17.2 7.1 20264 18332 ? T 21:26 0:16 /usr/bin/perl -
T -w /usr/bin/spamd -d -x -u mail -D
root 6163 0.0 0.2 1728 592 pts/1 S 21:27 0:00 grep spamd
mail 6164 0.0 7.1 20264 18336 ? R 21:27 0:00 /usr/bin/perl -
T -w /usr/bin/spamd -d -x -u mail -D
; Stop the strace, uploaded to http://www.blaises.com/sa/dbg2.txt
Other information:
# perl -v
This is perl, v5.6.1 built for i386-linux
# syslog-ng -V
syslog-ng 1.6.0rc3
# spamd -V
SpamAssassin Server version 3.0.0-rc1
running on Perl 5.6.1
with SSL support (IO::Socket::SSL 0.9
If you would like me to access to this system or need more information, feel
free to email me.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.