Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Nov 2004 10:28:38 -0800 (PST)
From:      Doug White <dwhite@gumbysoft.com>
To:        Sean McNeil <sean@mcneil.com>
Cc:        current@freebsd.org
Subject:   Re: Why won't slapd shutdown (kill -0)?
Message-ID:  <20041117102623.P25028@carver.gumbysoft.com>
In-Reply-To: <1100657472.74795.2.camel@server.mcneil.com>
References:  <1100657472.74795.2.camel@server.mcneil.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@gumbysoft.com          |  www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041117102623.P25028>