2 Dec 16:53
Forced handle-req timeout
From: Reinis Rozitis <roze <at> roze.lv>
Subject: Forced handle-req timeout
Newsgroups: gmane.comp.web.lighttpd
Date: 2007-12-02 15:57:08 GMT
Subject: Forced handle-req timeout
Newsgroups: gmane.comp.web.lighttpd
Date: 2007-12-02 15:57:08 GMT
Hello, in some older releases (til 1.4.11 or even earlier) lighttpd had hardcoded request handling timeout - eg time lighttpd waits response to be generated from backend (php) after sucessfull connection. If it was exceeded the request was closed and php child freed. By default the timeout was 360 secs (or something like that (not a configurable value)) I've changed it to 30 to be inline with php's max_execution_time .. It was good because in some scripts where php uses sockets sometimes it doesnt honour its own script max execution time so webserver ends up with a lot of requests being in handle-req state (according to server-status). I can't find this in 1.4.18 anymore (or it has been moved) and my changes to those older versions are gone (by mistake). So maybe somebody can point me to the right source where something like that could be implemented/changed? wbr Reinis
RSS Feed