Running code in nginx's master process

mzabani nginx-forum at nginx.us
Thu Oct 24 12:37:03 UTC 2013


It seems like the init_module callback is not executed in nginx's master
process. At least, I've printed a call to getpid() and the pid returned was
that of a process that wasn't running, which makes me think it is executed
in a process that forks the master process itself.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,243942,244069#msg-244069



More information about the nginx mailing list