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

Re^2: fork question

by jonnyfolk (Vicar)
on Aug 08, 2011 at 15:15 UTC ( #919250=note: print w/replies, xml ) Need Help??

in reply to Re: fork question
in thread fork question

Hi, thanks for your reply. Unfortunately that doesn't seem to be the problem - even increasing sleep to 5 just keeps hanging

Replies are listed 'Best First'.
Re^3: fork question
by zentara (Archbishop) on Aug 08, 2011 at 17:54 UTC
    You might have better luck trying to close or permanently redirect all filehandles. It may even be that you need to close ALL filehandles which you might have open. Maybe in the intervening time since the script was working, and not, you added some code elsewhere which opened some filehandles? See how to close all files
    or even
    open STDIN, "</dev/null"; open STDOUT, ">/dev/null"; open( STDERR, ">>/path/to/logfile");

    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku ................... flash japh

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (1)
As of 2021-09-17 05:06 GMT
Find Nodes?
    Voting Booth?

    No recent polls found