

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
14 messages in ru.sysoev.nginxRe: Nginx+daemontools| From | Sent On | Attachments |
|---|---|---|
| mobi...@public.gmane.org | Jan 30, 2008 3:55 pm | |
| Cliff Wells | Jan 30, 2008 4:03 pm | |
| Casey Rayman | Jan 30, 2008 4:06 pm | |
| mobi...@public.gmane.org | Jan 30, 2008 4:07 pm | |
| mobi...@public.gmane.org | Jan 30, 2008 4:10 pm | |
| Eden Li | Jan 30, 2008 4:52 pm | |
| mobi...@public.gmane.org | Jan 30, 2008 5:56 pm | |
| mobi...@public.gmane.org | Jan 30, 2008 6:19 pm | |
| Casey Rayman | Jan 30, 2008 7:43 pm | |
| Igor Sysoev | Jan 30, 2008 10:04 pm | |
| Grzegorz Nosek | Jan 31, 2008 12:08 am | |
| Thomas | Jan 31, 2008 1:46 am | |
| Mike Lott | Jan 31, 2008 3:47 am | |
| Thomas | Jan 31, 2008 4:31 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | Re: Nginx+daemontools | Actions... |
|---|---|---|
| From: | Mike Lott (list...@public.gmane.org) | |
| Date: | Jan 31, 2008 3:47:38 am | |
| List: | ru.sysoev.nginx | |
Hey
Is the "spawn-fcgi" the one that is built with Lighttpd? If so, add the "-n" flag so that it won't fork to the background. I "spawn-fcgi" to handle PHP built as a FastCGI application.
Mike
On 31 Jan 2008, at 02:20, mobi...@public.gmane.org
wrote:
it is not working with spawn-fcgi since spawnfcgi spawns a child and exits so supervise keeps trying to spawn childs continuously
service/run #!/bin/sh cd /home/mark/work/code
exec /opt/local/bin/spawn-fcgi -f /home/mark/work/code/code.py -p 9500 > /tmp/restart.log 2>&1 & exec cat /tmp/restart.log & exec /opt/local/bin/spawn-fcgi -f /home/mark/work/code/code.py -p 9501 > /tmp/restart.log 2>&1 & exec cat /tmp/restart.log &
exec /opt/local/bin/spawn-fcgi -f /home/mark/work/code/code.py -p 9502 > /tmp/restart.log 2>&1 & exec cat /tmp/restart.log &
exec /opt/local/bin/spawn-fcgi -f /home/mark/work/code/code.py -p 9503 > /tmp/restart.log 2>&1 ^ exec cat /tmp/restart.log & ~
Starting the backends supervise service
Error
it keeps trying to restart the backends since
On 1/30/08, mobi...@public.gmane.org
<mobi...@public.gmane.org> wrote:
http://www.google.com/search?hl=en&client=mozilla&rls=org.mozilla%3Aen-US%3Aunofficial&q=daemontools-nginx&btnG=Search
incidentally what is daemontools-nginx then?
On 1/30/08, mobi...@public.gmane.org
<mobi...@public.gmane.org> wrote:
Thanks cliff so the best practises for python backends is
daemontools supervise?
thanks a lot
On Jan 30, 2008 4:03 PM, Cliff Wells
<clif...@public.gmane.org> wrote:
On Wed, 2008-01-30 at 15:55 -0800,
mobi...@public.gmane.org wrote:
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
I think the best idea is to *not* run Nginx under daemontools. But by all means run your FCGI processes under it since Nginx won't automatically restart them if they die.
Regards, Cliff







