DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7617>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7617 Apache 1.3.x race condition causes gratuitous 3-second CGI delay ------- Additional Comments From [EMAIL PROTECTED] 2002-10-22 08:26 ------- I think the suggestion from Mr Risku to poll at .1 second intervals is unfortunately not good enough, if you do a lot of request in a short time (which would be the reason for using Keep-Alive at all), even a 100 ms delay on each request is noticeable. What I have done to solve the problem for us is simply to remove both the 3-sec waiting and the (in our setting) unnecessary killing from alloc.c. Perhaps this could lead to problems in other cases. Anyway, I get the problem on both 1.3 and 2.0 on a standard Compaq computer with just one processor running Linux 7.3. (7.2 and earlier did not trigger the problem). > //if (need_timeout) > //sleep(3); > //if (p->kill_how == kill_after_timeout) > //kill(p->pid, SIGKILL); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]