httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ricardo13 <ricardoogra...@gmail.com>
Subject Re: Help with worker.c
Date Wed, 08 Jul 2009 18:38:13 GMT

Hi,

I cannot increase the lenght of queue.
I print the worker_queue->nelts and doesn't exceed of value 1 and the CPU
usage is low.
I did a application in PHP. Application has a loop until 10000.

I've configured directives MPM Worker (StartServer, ThreadPerChild,
ServerLimit, etc...)

Thank you
Ricardo


ricardo13 wrote:
> 
> Hi,
> 
> I'm trying understand worker.c module.
> My doubt is about operation push() and pop().
> 
> Push() add a socket in array fd_queue_t->data and Pop() retrieve a socket
> for processing.
> 
> But what's the order of PUSH() ?? It adds in final queue ??
> And POP() ?? Retrieve a socket only before (elem =
> &queue->data[--queue->nelts];) ??
> 
> Thank you
> Ricardo
> 

-- 
View this message in context: http://www.nabble.com/Help-with-worker.c-tp24389140p24397052.html
Sent from the Apache HTTP Server - Dev mailing list archive at Nabble.com.


Mime
View raw message