From owner-freebsd-ports@FreeBSD.ORG Mon Jun 1 13:20:37 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 842681065670 for ; Mon, 1 Jun 2009 13:20:37 +0000 (UTC) (envelope-from spaz@whotookspaz.org) Received: from mail-qy0-f173.google.com (mail-qy0-f173.google.com [209.85.221.173]) by mx1.freebsd.org (Postfix) with ESMTP id 470448FC13 for ; Mon, 1 Jun 2009 13:20:36 +0000 (UTC) (envelope-from spaz@whotookspaz.org) Received: by qyk3 with SMTP id 3so10911421qyk.3 for ; Mon, 01 Jun 2009 06:20:36 -0700 (PDT) Received: by 10.224.3.10 with SMTP id 10mr5526718qal.149.1243862436512; Mon, 01 Jun 2009 06:20:36 -0700 (PDT) Received: from cyclone.whotookspaz.org (c-67-191-105-130.hsd1.fl.comcast.net [67.191.105.130]) by mx.google.com with ESMTPS id 7sm28794qwf.55.2009.06.01.06.20.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 01 Jun 2009 06:20:36 -0700 (PDT) Message-ID: <4A23D5A0.7020407@whotookspaz.org> Date: Mon, 01 Jun 2009 09:20:32 -0400 From: Jacob Myers User-Agent: Thunderbird 2.0.0.21 (X11/20090319) MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <4A23B8F6.4060304@whotookspaz.org> <5145080EF7404E4A8CA381DD2492EF02@multiplay.co.uk> In-Reply-To: <5145080EF7404E4A8CA381DD2492EF02@multiplay.co.uk> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: Lighttpd 1.4.22/PHP 5.2.9 hardlocking the system X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jun 2009 13:20:37 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Steven Hartland wrote: > We had issues when running lighttpd which indicated an issue with kqueue. After doing some experimentation of my own in VirtualBox, I've traced the issue to sendfile(2). I changed server.network-backend to "write" and "writev" and the issue went away. Changing it to freebsd-sendfile caused the issue. > > Disabling lightttpd's use of kqueue using the following prevented this. > server.event-handler = "poll" > Hmm... maybe there's some weird interaction with sendfile/kqueue going on here. *shrug* - -- Jacob -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkoj1aAACgkQnokOSaNFCAb95gCfT4J+dZ7gBbAhbHDlQwqgtoYk VtcAoOOlmFFc4wc7YA/btiZTNkMhlDwr =rKQM -----END PGP SIGNATURE-----