Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^9: Best way to kill a child process

by Marshall (Abbot)
on Oct 18, 2011 at 00:44 UTC ( #932047=note: print w/replies, xml ) Need Help??


in reply to Re^8: Best way to kill a child process
in thread Best way to kill a child process

Yes, if you find a way to duplicate this with a fairly simple program, I'd like to run it and see if I can replicate it also.

I don't have a Linux machine myself, but I do have access to a 64 bit Linux, active-state 64 bit installation on a remote machine. I can hammer on this machine during the evenings and on the weekends.

Setting $SIG{CHLD} = 'IGNORE' should cause the low level sigaction() structure to be set. Once that happens, Perl has nothing at all to do with this signal as Perl would never even see the signal. So if this causes a "reap" of the child, I can see why this doesn't cause a problem.

Anyway, if you can make this happen more often than once every 24 hours, then I have a way to make a couple of runs on the weekend when the college's server is at a low usage level.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://932047]
help
Chatterbox?
[holli]: is there anybody out there?
[shmem]: the world is full of people - out there...
[holli]: are you sure? or are they mere prjections of my hallucinating mind?
shmem feels uneasy over his guess of the tune for silent night, perl 6 night
[holli]: https://www. youtube.com/watch? v=6H_9QEc6vA8

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2017-09-22 20:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (269 votes). Check out past polls.

    Notices?