Using NGINX in non-fork mode

nitesh narayan lal niteshnarayanlalleo at gmail.com
Tue Apr 14 06:20:20 UTC 2015


Hi,

I am using a single worker process and master_process off in nginx.conf.
Now as per my understanding, the flow of operation would be something like:
NGiNX master process will be created which will spawn a single
worker_process using fork and then master process gets killed.
Is that correct ?

If yes then is it possible to avoid forking.
Pthreads is just now been introduced as a testing feature in NGiNX, so
I don't want to use it. Is there any other way also to avoid fork?
-- 
Regards
Nitesh Narayan Lal
http://www.niteshnarayanlal.org/



More information about the nginx mailing list