panic caused by EVFILT_SIGNAL detaching in rfork()ed thread
Brian Fundakowski Feldman
green at freebsd.org
Fri Jul 9 19:52:50 PDT 2004
On Mon, Jul 05, 2004 at 02:06:42PM +0400, Igor Sysoev wrote:
> While development of my http server nginx I've got panics caused by detaching
> of the EVFILT_SIGNAL event. The worker process starts two worker threads
> created by rfork(RFPROC|RFTHREAD|RFMEM). Each thread opens kqueue and
> adds the EVFILT_SIGNAL event. If the main thread of the worker process
> exits abnormally (on 4.x) or simply exits (on 5.x) then kernel may panic:
Someone more up on -stable should investigate fixing all of these that can
be found there. For -CURRENT, jmg is supposed to be fixing it at some
point.
I've been running something like this one for some time on -CURRENT with
zero problems (may be a bit stale, especially if not removing the VM
parts): <http://green.homeunix.org/~green/kqueue%2bvm.patch>
--
Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\
<> green at FreeBSD.org \ The Power to Serve! \
Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\
More information about the freebsd-hackers
mailing list