Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Could not catch all children after fork, some of them never end

by krabbl (Initiate)
on Mar 14, 2013 at 16:08 UTC ( #1023498=note: print w/ replies, xml ) Need Help??


in reply to Re: Could not catch all children after fork, some of them never end
in thread Could not catch all children after fork, some of them never end

All children are writing to the same BerkeleyDB, but they are using cds_lock/unlock.

I figured out that some loops became endless after pressing CTRL+C, so I added some additional checks. But at one point there could be a problem, so I would try to check manually if a current lock exists, but I could not figure out how this works in BerkeleyDB...does anybody know?


Comment on Re^2: Could not catch all children after fork, some of them never end

Log In?
Username:
Password:

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

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

    The best computer themed movie is:











    Results (291 votes), past polls