Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Protection from zombies

by kscaldef (Pilgrim)
on May 16, 2005 at 23:07 UTC ( [id://457598]=note: print w/replies, xml ) Need Help??


in reply to Protection from zombies

Can you strace the parent process and figure out if it's stuck in read() or wait()?

Also, what is the particular command? Perhaps it fails to close STDOUT or STDERR under some circumstances?

Replies are listed 'Best First'.
Re^2: Protection from zombies
by nomis80 (Sexton) on May 17, 2005 at 12:07 UTC
    Not really. I can't reproduce the behavior unless I'm running as a CGI. The particular command is a shell script living in /etc/init.d.
      You can attach to an existing process with "strace -p ###".

      Can you give us more information about the init.d script?

      Try replacing the perl script with a shell script that runs strace on the original script, saving the output somewhere where you can look at it later.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://457598]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (1)
As of 2024-04-25 04:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found