On Sat, Apr 20, 2002 at 20:07:53 +0400, Andrey A. Chernov wrote:
> On Sat, Apr 20, 2002 at 18:03:07 +0200, Dag-Erling Smorgrav wrote:
> > "Andrey A. Chernov" <[EMAIL PROTECTED]> writes:
> > > It happens only with 'localhost' and not in remote case. To
> > > reproduce it, call:
> > >   ssh localhost
> > > login normally and then exit. At exit you'll see following message on 
> > > console (or /var/log/messages):
> > > 
> > > sshd[<its_pid>]: error: session_by_pid: unknown pid <some_pid>
> > 
> > I can't reproduce this.
> 
> Well, I'll try to dig out more details after some sleep...

Finally I found who is responsoble for zombie. Yes it is PAM as I think
initially. This process started in the pam_init_ctx() function in the
auth2-pam.c, then dies to zombie.  I found it simply printing pid after
each fork and looking into 'ps' and error diagnostic above. It means PAM
forget to wait for its own child. Please fix.

-- 
Andrey A. Chernov
http://ache.pp.ru/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to