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

From: Doug White (dwhite_at_gumbysoft.com)
Date: 11/17/04

  • Next message: Tillman Hodgson: "Re: `kldload` doesn't find pf.ko, though `ls` finds it easily enough"
    Date: Wed, 17 Nov 2004 10:28:38 -0800 (PST)
    To: Sean McNeil <sean@mcneil.com>
    
    

    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
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Tillman Hodgson: "Re: `kldload` doesn't find pf.ko, though `ls` finds it easily enough"

    Relevant Pages

    • Re: Yep, this is the end of major combat operations in Iraq!
      ... > I see you continue to be stuck on stupid... ... > ideologue committed to the death, is to kill him. ... > utterly and devastatingly sad. ...
      (rec.outdoors.rv-travel)
    • Re: Batch script for maintaing remote services
      ... I want to kill this service before sc command go on stopping ... Does the loop breaks when it finds "stopped" status for a particular ... But how will I kill this service if it gets stuck in ... command parameter, makes sure that next service is only ...
      (microsoft.public.windowsxp.general)
    • Re: [RFC] page fault retry with NOPAGE_RETRY
      ... Suppose a program (let's call it "DoS") is written which sits in a loop ... bash will take a major fault, will submit a read and then it will do ... Particularly since every other program in the machine is stuck in disk wait ... having to kill off sshd, xinetd, httpd, etc isn't a very happy solution. ...
      (Linux-Kernel)
    • Re: Detecting frozen processes?
      ... It's not common for programs accessing stuff over the net to get stuck ... You may need to redirect stdout and stderr for every ... You're trying to send signals to processes, ... doesn't kill processes, ...
      (comp.os.linux.misc)
    • Re: Isnt $6 trillion just about what Bushs elective war costs?
      ... The "something" that happened was the democrat Congress taking over. ... That something was the sub-prime bomb going off and the dollar ... kill people, people kill people". ... Pelosi lit the fuse and stuck her fingers in her ears. ...
      (misc.survivalism)