Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <00a301c32894$06df1560$0401010a@XYZZY> From: "Christopher B. Liebman" To: References: <006101c32799$b7fbd500$0401010a AT XYZZY> Subject: Problem with accept?!! (was: Re: apache cygwin package hangs when MaxRequestsPerChild reached!) Date: Sun, 1 Jun 2003 16:17:06 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Ok, after some investigation I am starting to think that the issue is with the behavior of accept(). When the apache main forks off its pool of worker procs, each one calls accept() on the socket file descriptor. What I have found is that when the first process in the pool exits (usually due to the max requests being reached) ***none*** of the other pool process return from accept() when the next request comes in on the socket. If I kill off the current pool procs the *first* new one will respond to requests untill the max is recieved again then as before, non of the other pool procs return from accept. Any ideas on how to deal with this? -- Chris ----- Original Message ----- From: "Christopher B. Liebman" To: Sent: Saturday, May 31, 2003 10:26 AM Subject: apache cygwin package hangs when MaxRequestsPerChild reached! > It seems that there is a bug somewhere in the server pool handling in apache > under cygwin, When MaxRequestsPerChild is reached it hangs! Repeat by > setting MaxRequestsPerChild to 5 and making sequental requests... the 6'th > times out. I'm running the latest cygwin and the cygwin apache package. My > server pool config is: > > MinSpareServers 4 > MaxSpareServers 10 > StartServers 5 > MaxClients 150 > MaxRequestsPerChild 5 > > > Anyone have any ideas? > > -- Chris > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/