Worker ID

Maxim Dounin mdounin at mdounin.ru
Wed May 14 14:55:32 UTC 2014


Hello!

On Tue, May 13, 2014 at 09:20:07PM -0400, Jordan Newman wrote:

> Is there a way from an nginx module to see which # worker it is? Thank you.

If you need to know worker's number, you are likely doing 
something wrong.

Note that there may be more than one set of workers running 
concurrently - e.g., after a configuration reload a new set of 
workers is spawned, and only after this old workes are gracefully 
shut down.

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx-devel mailing list