Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: forked child process is not able to access the file handle

by Krambambuli (Deacon)
on Jan 27, 2010 at 21:57 UTC ( #820035=note: print w/ replies, xml ) Need Help??


in reply to forked child process is not able to access the file handle

If I'm seeing it right, you're exiting the parent process too soon - and the log file is closed before the childs get a chance to write into it.

Try to outcomment the parent exit(), just to see if this diagnosis is correct.

If it is, consider keeping the parent alive till the last child finished it's work.


Krambambuli
---


Comment on Re: forked child process is not able to access the file handle

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (13)
As of 2014-10-23 15:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (125 votes), past polls