Amanda Waite | 14 Dec 17:46

Re: spawn-fcgi problem

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