Lighttpd 1.4.22/PHP 5.2.9 hardlocking the system

Jacob Myers spaz at whotookspaz.org
Mon Jun 1 13:20:37 UTC 2009


-----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-----


More information about the freebsd-ports mailing list