Re: Extra processes/will not die

Marc Prewitt <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
Tom Reinhart wrote:
> On 5/27/05, Tim Wood <timwood0-yBeKhBN/[email protected]> wrote:
> 
>>Try testing some theories.  Maybe process reaping (via SIGTERM) isn't happening.  Try instrumenting mod_fastcgi.c with log messages when it tries to reap a Ruby process (the code is not that bad).  Or make Ruby log whenever it receives a signal--absence of those messages could indicate a problem.  Etc.
>>TW
> 
> 
> Hm, I'll see about diving into the code early next week. I had
> downloaded it, and the code didn't look too intimidating. :)
> 
> On 5/27/05, Marc Prewitt <[email protected]> wrote:
> 
>>To get a bit more debugging, you could trace the proccess that are stuck
>>and compare that to the state of an idle process when they're not stuck.
> 
> 
> Trace? Is that a function of FastCGI, or something else?
> 

There's a standard linux utility called strace which traces system calls 
on a running process.


___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.