Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <3EDB13D3.F738D42B@wapme-systems.de>
Date: Mon, 02 Jun 2003 11:07:31 +0200
From: Stipe Tolj <tolj@wapme-systems.de>
Organization: Wapme Systems AG
X-Accept-Language: de
MIME-Version: 1.0
To: "Christopher B. Liebman" <liebman@zod.com>
CC: cygwin@cygwin.com
Subject: Re: Problem with accept?!! (was: Re: apache cygwin package hangs when 
 MaxRequestsPerChild reached!)
References: <006101c32799$b7fbd500$0401010a@XYZZY> <00a301c32894$06df1560$0401010a@XYZZY>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Hi Christopher,

"Christopher B. Liebman" schrieb:
> 
> 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?

ok, this is a pretty good description of the problem I guess.

Let's ask Corinna, Chris et al for their explanation if something in
the accept() behaviour *inside* Cygwin changed from 1.3.10+ ?!?!?!?

Stipe

tolj@wapme-systems.de
-------------------------------------------------------------------
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: info@wapme-systems.de
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are

--
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/

