You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Gottschalch Christian <ma...@llbc.de> on 2007/11/26 09:58:22 UTC

[users@httpd] Worker process blocked when waiting for HTTPKeepAlive ??

Hi List,

short question, in apache mpm prefork, who is handling the connection ? 
if i understand it right, then the apache root process dispatches a 
connection to an worker process, this process is processing the request 
for the client, after request processing, dose the apache worker process 
waits for further requests till Timeout is reached or the connection was 
closed by the client ? After connection close the worker process is free 
to handle  further connections & requests ?

regards
Christian

 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Worker process blocked when waiting for HTTPKeepAlive ??

Posted by Joshua Slive <jo...@slive.ca>.
On Nov 26, 2007 4:02 AM, Christian Folini <ch...@post.ch> wrote:
> On Mon, Nov 26, 2007 at 09:58:22AM +0100, Gottschalch Christian wrote:
> > Hi List,
> >
> > short question, in apache mpm prefork, who is handling the connection ?
> > if i understand it right, then the apache root process dispatches a
> > connection to an worker process, this process is processing the request
> > for the client, after request processing, dose the apache worker process
> > waits for further requests till Timeout is reached or the connection was
> > closed by the client ? After connection close the worker process is free
> > to handle  further connections & requests ?
>
> You understand it correctly. Your assumptions are all correct.

Except that the KeepAliveTimeout directive indicates the amount of
time apache will wait, not the regular TimeOut directive.

For a different way to handle this, see the event mpm.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Worker process blocked when waiting for HTTPKeepAlive ??

Posted by Christian Folini <ch...@post.ch>.
On Mon, Nov 26, 2007 at 09:58:22AM +0100, Gottschalch Christian wrote:
> Hi List,
> 
> short question, in apache mpm prefork, who is handling the connection ? 
> if i understand it right, then the apache root process dispatches a 
> connection to an worker process, this process is processing the request 
> for the client, after request processing, dose the apache worker process 
> waits for further requests till Timeout is reached or the connection was 
> closed by the client ? After connection close the worker process is free 
> to handle  further connections & requests ?

You understand it correctly. Your assumptions are all correct.

Christian


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org