Re: Lighttpd 1.4.22/PHP 5.2.9 hardlocking the system

2009-06-01 Thread Jacob Myers
-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-
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Lighttpd 1.4.22/PHP 5.2.9 hardlocking the system

2009-06-01 Thread Steven Hartland

We had issues when running lighttpd which indicated an issue with kqueue.

Disabling lightttpd's use of kqueue using the following prevented this.
server.event-handler = "poll"

In the logger term we have moved to nginx.

   Regards
   Steve

- Original Message - 
From: "Jacob Myers" 

To: 
Sent: Monday, June 01, 2009 12:18 PM
Subject: Lighttpd 1.4.22/PHP 5.2.9 hardlocking the system



-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

I'm running lighttpd 1.4.22 and PHP 5.2.9 on FreeBSD 7.2-RELEASE. When
uploading files > 1 MB in size or so via PHP, the box then hard locks.
SSH and HTTP become unavailable, and apparently console logins don't
work; however, the box can still be pinged. So far I've been able to
reproduce this issue on FreeBSD/i386 and FreeBSD/amd64.

I have no clue how to debug this, but I'm willing to help :). Sadly, I
don't have physical access to a FreeBSD machine atm to help debug this
with, but I'm working on that.

- -- Jacob
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkojuPUACgkQnokOSaNFCAYVmgCg4CtC68Wo9Aa7jWHXjnvzs5oa
V2cAnRzXhMXucY0G7hY0wyTSmE/QpfCQ
=s2Id
-END PGP SIGNATURE-
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"




This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 


In the event of misdirection, illegible or incomplete transmission please 
telephone +44 845 868 1337
or return the E.mail to postmas...@multiplay.co.uk.

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Lighttpd 1.4.22/PHP 5.2.9 hardlocking the system

2009-06-01 Thread Jacob Myers
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

I'm running lighttpd 1.4.22 and PHP 5.2.9 on FreeBSD 7.2-RELEASE. When
uploading files > 1 MB in size or so via PHP, the box then hard locks.
SSH and HTTP become unavailable, and apparently console logins don't
work; however, the box can still be pinged. So far I've been able to
reproduce this issue on FreeBSD/i386 and FreeBSD/amd64.

I have no clue how to debug this, but I'm willing to help :). Sadly, I
don't have physical access to a FreeBSD machine atm to help debug this
with, but I'm working on that.

- -- Jacob
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkojuPUACgkQnokOSaNFCAYVmgCg4CtC68Wo9Aa7jWHXjnvzs5oa
V2cAnRzXhMXucY0G7hY0wyTSmE/QpfCQ
=s2Id
-END PGP SIGNATURE-
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"