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





------- Additional Comments From [EMAIL PROTECTED]  2004-09-28 10:54 -------
here is what i have found.  take a look at the ps listing below and you'll see
the START time on the first 7 children is 03:XX and the last 8 children is
12:XX.. so i lsof a couple of the 03:XX children to see what the hell they are
still doing.   looks like FD6 is the tcp socket to the spamc client that
initiated the request.

gdb shows the stale children are in a read() state still

0x420dae14 in read () from /lib/i686/libc.so.6

there is no active spamc client on the other side of the TCP connection however,
since they run with a 60 second timeout, so i assume that is why its stuck in
read() forever?

here is the ps and lsof's of a could old children.   once all the children get
old, spamd no longer processes requests, hence my problem.


root     18297  0.0  0.3 27240 2940 ?        S    Sep27   0:02 /usr/bin/perl -T
-w /usr/bin/spamd --syslog-socket=none -A 127.0.0.0/8,24.225.0.0/24 -i 0.0.0.0
-q -x -m 15 --max-conn-per-child 75
root      2015  0.0  3.1 31756 24420 ?       S    03:07   0:22 spamd child
root      2577  0.0  3.1 31080 23740 ?       S    03:28   0:14 spamd child
root      2586  0.0  3.3 33092 25668 ?       S    03:29   0:14 spamd child
root      3069  0.0  3.2 32356 24848 ?       S    03:46   0:09 spamd child
root      3210  0.0  3.0 30588 22964 ?       S    03:53   0:05 spamd child
root      3216  0.0  2.9 30260 22592 ?       S    03:53   0:05 spamd child
root      3342  0.0  2.9 30468 22692 ?       S    03:59   0:04 spamd child
root     30254  3.4  3.2 32376 24968 ?       S    12:29   0:20 spamd child
root     30308  3.5  3.4 33440 26084 ?       S    12:30   0:21 spamd child
root     30367  3.6  3.4 33444 26248 ?       S    12:30   0:20 spamd child
root     30379  3.2  3.3 32880 25488 ?       S    12:31   0:17 spamd child
root     30439  3.0  3.2 32020 24628 ?       S    12:32   0:14 spamd child
root     30544  2.8  3.0 30736 23264 ?       S    12:33   0:11 spamd child
root     30755  2.5  2.9 29956 22196 ?       S    12:37   0:04 spamd child
root     30771  2.1  2.8 29312 21460 ?       S    12:37   0:03 spamd child
root     30948  0.0  0.0  1764  588 pts/2    R    12:40   0:00 grep spamd

[EMAIL PROTECTED] spamd]# lsof -p 3216
..
spamd   3216 root    0r   CHR        1,3           67004 /dev/null
spamd   3216 root    1w  FIFO        0,5            2768 pipe
spamd   3216 root    2w  FIFO        0,5            2768 pipe
spamd   3216 root    3r   REG        3,2   73077  328406 /usr/bin/spamd
spamd   3216 root    4w  FIFO        0,5            2768 pipe
spamd   3216 root    5u  IPv4 1362568002             TCP *:783 (LISTEN)
spamd   3216 root    6u  IPv4 1382114401             TCP
24.225.0.50:783->p35n0.ruraltel.net:60137 (ESTABLISHED)

[EMAIL PROTECTED] spamd]# lsof -p 3342
..
spamd   3342 root    0r   CHR        1,3           67004 /dev/null
spamd   3342 root    1w  FIFO        0,5            2768 pipe
spamd   3342 root    2w  FIFO        0,5            2768 pipe
spamd   3342 root    3r   REG        3,2   73077  328406 /usr/bin/spamd
spamd   3342 root    4w  FIFO        0,5            2768 pipe
spamd   3342 root    5u  IPv4 1362568002             TCP *:783 (LISTEN)
spamd   3342 root    6u  IPv4 1382113269             TCP
24.225.0.50:783->p35n0.ruraltel.net:59749 (ESTABLISHED)






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

Reply via email to