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

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

by soonix (Monsignor)
on Mar 13, 2013 at 23:10 UTC ( #1023319=note: print w/replies, xml ) Need Help??


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

Wild guess: Are the children writing to the same db? (B)locking issues?
  • Comment on Re: Could not catch all children after fork, some of them never end

Replies are listed 'Best First'.
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

    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?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1023319]
help
Chatterbox?
[trahulprajapati]: I'm faicing a problem while navigating from one page to another. here is the discription- 1)I want to login webpage 2) on next page click okay 3)then next page fill some text in textbox 4) submitt. I have tried it by WWW::Scripter:: Javascript as page

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (12)
As of 2017-06-26 15:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (583 votes). Check out past polls.