Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

by Krambambuli (Curate)
on Jan 27, 2010 at 21:57 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://820035]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-20 02:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found