Geoff Adams | 17 Dec 19:56

Re: spawn-fcgi problem

On Dec 16, 2007, at 3:59 PM, Amanda Waite wrote:

> Before you logout, run ps -ef and see what the Parent Pid (PPID) of  
> the fcgi process is. It should be '1'. Also run the command 'jobs'  
> in the shell to see if there are any jobs running in the background.

I'm not really sure what's going on in this particular case, but this  
could be some strange interaction between several things, including  
your shell and the method you use to log in (ssh, new xterm window,  
etc.). I've seen a somewhat similar behavior with other, unrelated  
programs on other OSes, but always when using ssh to log in. This may  
point to controlling terminal issues (which proper daemonizing is  
supposed to take care of, but...).

So, perhaps send us the output of that 'ps -ef' command, preferably  
filtered using something like this:

   ps -ef | grep fcgi

and maybe someone will have some ideas. With any luck, you won't see a  
controlling terminal listed. A simple 'ps -af' might also be  
informative. If there's anything there other than the ps command,  
itself, something is probably amiss.

- Geoff


Gmane