nginx worker processes

Jonathan Leibiusky ionathan at gmail.com
Sat May 14 21:29:12 MSD 2011


Thanks, it's been a while since I last developed in c, so I wanted
someone else's opinion.
I saw that there is a fair round-robin module and I also saw that it
uses shared memory to store something. Does it mean that using that
module counters and servers state (either it is up or down) are
shared?

On 5/14/11, jjjx128 <nginx-forum at nginx.us> wrote:
> Jonathan Leibiusky Wrote:
> -------------------------------------------------------
>> Is it true to say that every worker process in
>> nginx has its own round-robin
>> counters and that they are not aware of the other
>> workers counters?
>
> Yes, take a look at ngx_http_upstream_round_robin.c.
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,198006,198008#msg-198008
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>



More information about the nginx mailing list