Re: Killing a zombie process?

2015-09-30 Thread Brian Buhrow
Hello. Did you mistype, did I misread or did you really mean to say that the parent pid (ppid) is 0 on the offending zombie process? that could be a clue. The ppid should be 1, not 0. I wonder how, if that is the case, the ppid of 0 gets assigned instead of 1? -thanks -Brian On Sep

Re: Killing a zombie process?

2015-09-30 Thread Paul Goyette
On Wed, 30 Sep 2015, Paul Goyette wrote: # kill -HUP 1 # ps axl | grep ' Z ' 0 27237 1 0 0 0 0 0 - Zpts/2- 0:00.00 (sh) Well, it happened again! I rebooted earlier today, and then deinstalled and rebuilt about 40 packages within the

Re: Killing a zombie process?

2015-09-30 Thread Robert Elz
Date:Wed, 30 Sep 2015 15:55:04 +0800 (PHT) From:Paul Goyette Message-ID: | So there must be some difference in how init(8) waits during normal | operation and how it waits during the

Re: Killing a zombie process?

2015-09-30 Thread Robert Elz
Date:Wed, 30 Sep 2015 18:29:20 +0800 (PHT) From:Paul Goyette Message-ID: | Well, a quick read through sbin/init.c shows that sometimes it waits | with WNOHANG and sometimes it doesn't.

Re: Killing a zombie process?

2015-09-30 Thread Paul Goyette
On Wed, 30 Sep 2015, Robert Elz wrote: Date:Wed, 30 Sep 2015 15:55:04 +0800 (PHT) From:Paul Goyette Message-ID: | So there must be some difference in how init(8) waits during normal |

Re: kqueue: SIGIO?

2015-09-30 Thread Mouse
> On the other hand, if kernel changes would be needed (for example to > make SIGIO work with kqueue() on NetBSD) then we really should > evaluate whether or not there is a better change that could be made > to handle the situation, rather than just blindly making NetBSD the > same as linux.

Re: kqueue: SIGIO?

2015-09-30 Thread Thor Lancelot Simon
On Wed, Sep 30, 2015 at 12:30:36AM +0200, Joerg Sonnenberger wrote: > On Tue, Sep 29, 2015 at 10:09:51PM +0200, Rhialto wrote: > > On Tue 29 Sep 2015 at 13:22:08 +0200, Tobias Nygren wrote: > > > Here is the relevant bit of the talk if you are curious: > > > > > >

Re: Killing a zombie process?

2015-09-30 Thread Paul Goyette
On Wed, 30 Sep 2015, Brian Buhrow wrote: Hello. Did you mistype, did I misread or did you really mean to say that the parent pid (ppid) is 0 on the offending zombie process? that could be a clue. The ppid should be 1, not 0. I wonder how, if that is the case, the ppid of 0 gets

Re: pkgsrc-2015Q3 released

2015-09-30 Thread Greg Troxel
"Thomas Mueller" writes: > Now that pkgsrc-wip has been moved to a git repository, how does a user who > already has pkgsrc-wip by cvs update? > > I checked the URL, http://pkgsrc.org/wip/ , and this was not discussed. > > Or does the user just delete or move the cvs

Re: pkgsrc-2015Q3 released

2015-09-30 Thread Thomas Mueller
Now that pkgsrc-wip has been moved to a git repository, how does a user who already has pkgsrc-wip by cvs update? I checked the URL, http://pkgsrc.org/wip/ , and this was not discussed. Or does the user just delete or move the cvs repository and git clone, fresh start? Tom

Re: kqueue: SIGIO?

2015-09-30 Thread Robert Elz
Date:Wed, 30 Sep 2015 09:45:32 -0400 From:Thor Lancelot Simon Message-ID: <20150930134532.ga25...@panix.com> | Does the problem actually have to do with the mouse and keyboard? The server also needs to deal with (potential) network connections from

Re: kqueue: SIGIO?

2015-09-30 Thread Joerg Sonnenberger
On Wed, Sep 30, 2015 at 07:37:10AM -0400, Mouse wrote: > > On the other hand, if kernel changes would be needed (for example to > > make SIGIO work with kqueue() on NetBSD) then we really should > > evaluate whether or not there is a better change that could be made > > to handle the situation,

Re: kqueue: SIGIO?

2015-09-30 Thread Mouse
>> Mouse's idea of having the kernel write a flag word instead of >> interrupting the process seems like a very nice fit if so. > The issue with it is how one would ever safely clear the variable > again, [...] This is not difficult: you do it by not clearing the variable. For the sake of