Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jul 2004 22:52:46 -0400
From:      Brian Fundakowski Feldman <green@freebsd.org>
To:        Igor Sysoev <is@rambler-co.ru>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: panic caused by EVFILT_SIGNAL detaching in rfork()ed thread
Message-ID:  <20040710025246.GD1626@green.homeunix.org>
In-Reply-To: <20040705140331.K723@is.park.rambler.ru>
References:  <20040705140331.K723@is.park.rambler.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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@FreeBSD.org                               \  The Power to Serve! \
 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\



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