You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Dean Gaudet <dg...@arctic.org> on 1997/06/16 20:26:21 UTC

ExcessRequestsPerChild

What is the need for this? 

If the server is told to exit it should exit immediately, not serve a few
requests first...

Dean


Re: ExcessRequestsPerChild

Posted by Dean Gaudet <dg...@arctic.org>.
Allow me to puke.  This is so gross.  I knew there had to be a reason...

Is there any way to pass sockets between heavy-weight processes?  How
efficient is it? 

Dean

On Mon, 16 Jun 1997, Ambarish Malpani wrote:

> The problem I was hitting, is that on NT, if a process has a socket
> open, NT keeps delivering connect requests to that process. If the
> process decides to exit, any connections in its listen queue are
> reset/rejected - so, for a busy web server, a lot of people asking
> to connect to it would get connection reset kind of messages.
> 
> The ExcessRequestsPerChild was an attempt to reduce the window in
> which this error occurred - not a great solution, but the best I could
> do. If somebody can figure out how to solve this problem, I would be
> very, very happy. Tried reducing the length of the listen queue -
> that didn't help. Can't think of a way of telling the OS - "I want
> no new connections, but will handle all the connections that are
> currently in my listen queue".
> 
> 
> -- 
> 
> ---------------------------------------------------------------------
> Ambarish Malpani
> Architect					       (408) 738-2040
> ValiCert, Inc.				      http://www.valicert.com
> 333 W. El Camino Real, Suite 270
> Sunnyvale, CA 94087
> 


Re: ExcessRequestsPerChild

Posted by Ambarish Malpani <am...@isecurity.com>.
The problem I was hitting, is that on NT, if a process has a socket
open, NT keeps delivering connect requests to that process. If the
process decides to exit, any connections in its listen queue are
reset/rejected - so, for a busy web server, a lot of people asking
to connect to it would get connection reset kind of messages.

The ExcessRequestsPerChild was an attempt to reduce the window in
which this error occurred - not a great solution, but the best I could
do. If somebody can figure out how to solve this problem, I would be
very, very happy. Tried reducing the length of the listen queue -
that didn't help. Can't think of a way of telling the OS - "I want
no new connections, but will handle all the connections that are
currently in my listen queue".


-- 

---------------------------------------------------------------------
Ambarish Malpani
Architect					       (408) 738-2040
ValiCert, Inc.				      http://www.valicert.com
333 W. El Camino Real, Suite 270
Sunnyvale, CA 94087