rkmr.em@gmail.com | 15 Dec 05:12

Re: spawn-fcgi problem

hi amanda,
can you try to spawn a tcp fastcgi process...

this is what I do, and even after i type in logout it is doesnt exit.. just stays like that

$ /opt/local/bin/spawn-fcgi -f /home/mark/work/groupcards/code.py -p 3222 -P /tmp/1.pid
spawn-fcgi.c.186: child spawned successfully: PID: 186
$ logout


On Dec 14, 2007 8:46 AM, Amanda Waite <mandy.waite2007 <at> googlemail.com > wrote:
I'm not able to recreate this. I have a Rails CRUD app installed at /export/home/regapp on OpenSolaris. if I run spawn-fcgi like this

spawn-fcgi -f /export/home/regapp/public/dispatch.fcgi -s /tmp/regapp.fcgi.socket-1 -u nobody -g nogroup

(where nobody/nogroup is the user/group I'm running Lighttpd under)

The spawn-fcgi app forks a new fcgi process and then exits. I can then do what I want in the terminal, including closing it.

I'm probably not understanding the question correctly, or my setup is fundamentally different to yours.

This was with Lighttpd 1.4.18

Mandy


On 11/12/2007, rkmr.em <at> gmail.com <rkmr.em <at> gmail.com> wrote:
hi,
if i spawn an fcgi processes using spawn-fcgi, and exit the terminal it does not close till the spawned fcgi process dies or is killed in opensolaris...
 how do i fix this?



Gmane