Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by Krambambuli (Curate)
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2016-12-08 20:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (145 votes). Check out past polls.