in reply to Re^2: Parallel ForkManager problem: parent dies early before all the child finishes
in thread Parallel ForkManager problem: parent dies early before all the child finishes

That is probably the Apache web server timing out your process. A http server does not like to wait around on long processes, there are ways around it. See Managing a long running server side process using CGI. You might check the httpd error logs and see if you see an error about timeout, or google for expired: ap_content_length_filter: apr_bucket_read() failed. . A most often recommended read for this problem is Merlyn's watching long processes thru cgi

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh
  • Comment on Re^3: Parallel ForkManager problem: parent dies early before all the child finishes

Replies are listed 'Best First'.
Re^4: Parallel ForkManager problem: parent dies early before all the child finishes
by dayem98 (Initiate) on Aug 19, 2011 at 14:55 UTC
    I was running the normal(serial) version of the program and it runs for 1 hour or so without any problem. I was trying to use parallel version to make the whole thing faster, but for some reason, parent process cant live for even 3/4 minutes.