Re: Why won't slapd shutdown (kill -0)?

From: Sean McNeil <sean_at_mcneil.com>
Date: Wed, 17 Nov 2004 21:47:35 -0800
On Thu, 2004-11-18 at 00:10 -0500, Michael Johnson wrote:
> On Nov 17, 2004, at 11:57 PM, Sean McNeil wrote:
> 
> > On Wed, 2004-11-17 at 18:36 -0800, Doug White wrote:
> >> On Wed, 17 Nov 2004, Sean McNeil wrote:
> >>
> >>> On Wed, 2004-11-17 at 10:28 -0800, Doug White wrote:
> >>>> On Tue, 16 Nov 2004, Sean McNeil wrote:
> >>>>
> >>>>> This has been happening for a long time with current and hasn't 
> >>>>> been
> >>>>> resolved.  When I start up slapd, I cannot stop it without kill -9 
> >>>>> ing
> >>>>> it.  It would appear stuck in kse and probably has something to do 
> >>>>> with
> >>>>> kill -0:
> >>>>
> >>>> Mind expanding on this? The backtrace looks normal for a pthread 
> >>>> process.
> >>>> kill -0 just tests signal delivery; the process is completely 
> >>>> unaware that
> >>>> the probe occured, though.  The process may also be unkillable if 
> >>>> its
> >>>> stuck in some sort of I/O wait.
> >>>>
> >>>> Is the server busy when you signal it?
> >>>
> >>> Oh, OK.  I didn't look at /usr/local/etc/rc.subr too closely.  I have
> >>> additional information, though....
> >>>
> >>> It appears that all the threads are destroyed yet it is still in the
> >>> thread processing loop.  The process is no longer active at all.  I 
> >>> just
> >>> had a similar problem happen with vlc where I closed it yet it is
> >>> hanging in the same place as slapd with all the threads gone.
> >>
> >> Interesting... what scheduler are you using?
> >
> > 4BSD with PREEMPTION on.  -CURRENT as of yesterday.  This has been an
> > issue for quite some time now, however.
> >
> >>>
> >>> Here is the one from vlc:
> >>>
> >>> (gdb) bt full
> >>> #0  _thr_sched_switch_unlocked (curthread=0x955000) at 
> >>> pthread_md.h:226
> >>
> >> I can't find a reference to this in that file.  Can you run ldd 
> >> against
> >> your vlc binary? I('m curious what thread library it thinks its 
> >> running.
> >
> 
> 
> Is this vlc 0.7.2 or 0.8.1?

VLC media player 0.8.1 Janus

built Nov 16 23:05

amd64/current machine.


Received on Thu Nov 18 2004 - 04:47:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:22 UTC