httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Bannert <aa...@clove.org>
Subject Re: connections are hanging for 2.0 cvs on Cygwin 1.x (worker mpm)
Date Fri, 28 Dec 2001 19:15:48 GMT
On Fri, Dec 28, 2001 at 08:16:36PM +0100, Stipe Tolj wrote:
> Hi guys,
> 
> I have tried to sync up with the latest development in the 2.0 cvs
> branch for the Cygwin 1.x platform and hence compiled and tested
> latest cvs tree for two workers:
> 
> prefork: everything runs fine and connections are servered immediatly.
> 
> worker: this has been at least the first successfull build using
> Cygwin's pthread support which are now known to work accordingly.
> 
> (basicly httpd.conf left as make install copied it)
> 
> httpd starts and listens to port 80, client A connects and requests a
> URI, the server starts to do something, but yet no reply (taking time,
> time, time ....). When a second client B connects and requests a URI
> the first request from client A gets responded and the response of
> client B is now in "idle mode", vise versa.
> 
> Can someone be so kind to point me on where to look for this in the
> code? I will try to figure out why this is happening and if it is a OS
> specific thing or if it can be solved within the 2.0 code.

This sounds suspiciously like a bug in whichever apr_thread_cond_t
implementation Cygwin uses. Can you send an strace (does Cygwin have
such a thing?) of the system calls leading up to the accepted-but-idle
thread (it may take some tweaking to catch it in the act)?

-aaron

Mime
View raw message