Zombie processes ...

Marc G. Fournier scrappy at hub.org
Thu Mar 9 00:48:18 UTC 2006


On Tue, 28 Feb 2006, Bill Davidsen wrote:

> On Mon, 27 Feb 2006, Marc G. Fournier wrote:
>
>>
>> Sorry ...
>>
>> - have innd do it if non-peer or MODE READER
>>
>> Running inn-STABLE-20060221.tar.gz, which was the latest version when I
>> downloaded it ... no patches, just that tar file ...
>
> Okay. I would do "ps -eaxf" just to see that the parent really is innd,
> not that I doubt it is. What version of the o/s are you running?

FreeBSD 4.x, news is running in a jail *but* its always been running in a 
jail, and this problem is only within the past couple of months ...

news# ps aux | grep inn
root  10875  0.0  0.0  1320  892  pn  RVJ   8:38PM   0:00.00 grep inn (csh)
news  96466  0.0  0.0  4148 1732  ??  SNJ   7:00PM   0:06.47 /usr/local/news/bin/innfeed
news  95881  0.3  1.3 168528 49080  ??  SsJ   7:00PM   0:47.07 /usr/local/news/bin/innd -p 3
news# kill -CHLD 958
news# ps aux | grep nnrpd | wc -l
      797
news# ps aux | grep nnrpd | head
news   1869  9.0  0.0     0    0  ??  ZNJ   7:43PM   0:00.00  (nnrpd)
news   2742  7.0  0.0     0    0  ??  ZNJ   7:49PM   0:00.00  (nnrpd)
news   3656  7.0  0.0     0    0  ??  ZNJ   7:56PM   0:00.00  (nnrpd)
news   7254  7.0  0.0     0    0  ??  ZNJ   8:09PM   0:00.00  (nnrpd)
news    636  7.0  0.0     0    0  ??  ZNJ   7:32PM   0:00.00  (nnrpd)
news   8405  6.0  0.0     0    0  ??  ZNJ   8:17PM   0:00.00  (nnrpd)
news   3277  6.0  0.0     0    0  ??  ZNJ   7:54PM   0:00.00  (nnrpd)
news  99485  6.0  0.0     0    0  ??  ZNJ   7:23PM   0:00.00  (nnrpd)
news  99488  6.0  0.0     0    0  ??  ZNJ   7:23PM   0:00.00  (nnrpd)
news  99545  6.0  0.0     0    0  ??  ZNJ   7:24PM   0:00.00  (nnrpd)
news# kill -CHLD 95881
news# ps aux | grep nnrpd | wc -l
      797
news# 
news# ps auxl | grep 7254
news   7254  7.0  0.0     0    0  ??  ZNJ   8:09PM   0:00.00  (nnrpd)             8  7254 95881   7  56 14     0    0 -      ZNJ   ??    0:00.00  (nnrpd)

Two questions ... first, what is the [11498] in the log file:

Mar  8 20:43:03 news nnrpd[11498]: SERVER perl filtering enabled

I would have thought it was PID, but if I do a grep for, say, 3277 in the log file, it doesn't return anything:

%grep 3277 /var/log/news/news.notice
%

Next question ... how do you disable the PERL filtering in nnrpd?  I don't 
find a switch in etc/inn.conf ... just figured I'd disable it and see if 
maybe *it* is somehow affecting things ...



>
> Suggestion: use kill to send a SIGCHLD to innd, and see if it reaps one
> zombie. Of course if it does that indicates another problem.  I don't see
> how innd could NOT be sent the signal, but it's worth trying.
>
> Russ, is there any way compiler vs. kernel mismatch and using the wrong
> headers could cause this? Seems unlikely, but the code really doesn't look
> as if it has any holes.
>
>> ----
>> Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
>> Email: scrappy at hub.org           Yahoo!: yscrappy              ICQ: 7615664
>>
>
> -- 
> bill davidsen <davidsen at tmr.com>
>  CTO TMR Associates, Inc
> Doing interesting things with little computers since 1979
>
>
>

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy at hub.org           Yahoo!: yscrappy              ICQ: 7615664


More information about the inn-workers mailing list