delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/01/19:18:51

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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" <liebman AT zod DOT com>
To: <cygwin AT cygwin DOT com>
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
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" <liebman AT zod DOT com>
To: <cygwin AT cygwin DOT com>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019