Nginx+daemontools

mobiledreamers at gmail.com mobiledreamers at gmail.com
Thu Jan 31 02:55:56 MSK 2008


Running nginx with daemontools
Hey guys I m trying to figure out how to run nginx and the backends using
supervise in daemon mode
the idea is to run the fastcgi backends in supervise daemonzied mode so that
if they get killed due to memory leaks or overload or whatever error they
can be rebooted by supevise automatically wtihout human intervention
thanks for sharing ideas

*
*

*Syntax:* *daemon on | off*

*Default:* *on*

daemon  off;

Do not use the "daemon" and "master_process" directives in a production
mode, these options are mainly used for development only. You can use
 daemon off  safely in production mode with runit / *daemontools* however
you can't do a graceful upgrade.  master_process off  should never be used
in production.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20080130/7953b72e/attachment.html>


More information about the nginx mailing list