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

From: Doug White <dwhite_at_gumbysoft.com>
Date: Wed, 17 Nov 2004 10:28:38 -0800 (PST)
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?

>
> (gdb) bt
> #0  0x000000080142e914 in kse_release () at kse_release.S:2
> #1  0x0000000801428e49 in kse_wait (kse=0x62a000, td_wait=0x0,
> sigseqno=0)
>     at /usr/src/lib/libpthread/thread/thr_kern.c:1843
> #2  0x0000000801427078 in kse_sched_multi (kmbx=0x62efa0)
>     at /usr/src/lib/libpthread/thread/thr_kern.c:1039
> #3  0x000000080142afbf in _amd64_enter_uts ()
>     at /usr/src/lib/libpthread/arch/amd64/amd64/enter_uts.S:40
> #4  0x0000000000000000 in ?? ()
> #5  0x000000000062f000 in ?? ()
> #6  0x000000000062a000 in ?? ()
> #7  0x0000000000000000 in ?? ()
> #8  0x0000000000000000 in ?? ()
> #9  0x0000000000000000 in ?? ()
> #10 0x0000000000000000 in ?? ()
> #11 0x0000000000000000 in ?? ()
> #12 0x0000000000000001 in ?? ()
> #13 0x0000000801426dd0 in _thr_sched_switch_unlocked ()
>     at /usr/src/lib/libpthread/thread/thr_kern.c:904
> Previous frame inner to this frame (corrupt stack?)
>
>

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite_at_gumbysoft.com          |  www.FreeBSD.org
Received on Wed Nov 17 2004 - 17:28:38 UTC

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