Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 God said, "Let Newton be!"...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2017-03-30 23:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (364 votes). Check out past polls.