RE: Excessive wait time after fork

2011-04-06 Thread TAO, NENGBING [AG/1005]
It seems the problem can be solved by using POSIX exit. (http://perldoc.perl.org/functions/exit.html ) Thanks to Chris who is in our IT department for pointing me to this. I should have read it more carefully! " The exit() function does not always exit immediately. It calls any defined END routine

RE: Excessive wait time after fork

2011-04-06 Thread TAO, NENGBING [AG/1005]
id show that less than half of the total memory is used. So I don't believe the server is swamped. Thanks -Original Message- From: Chas. Owens [mailto:chas.ow...@gmail.com] Sent: Monday, April 04, 2011 6:40 AM To: TAO, NENGBING [AG/1005] Cc: beginners-digest-h...@perl.org; begi

Re: Excessive wait time after fork

2011-04-04 Thread Chas. Owens
On Sat, Apr 2, 2011 at 12:06, TAO, NENGBING [AG/1005] wrote: > Hi, > >        I noticed that after fork, the wait time is excessive (my other > test waited for hours). Is this a known problem, how to get around it? snip > child 3 AFTER  sub call :Sat Apr  2 10:45:01 2011 numKeys:401 > child 4