in reply to Re: Parallel::ForkManager and possible memory leak
in thread Parallel::ForkManager and possible memory leak

When I say hangs it is not accessible. Cannot login, scp, sftp, anything. It is pingable but that is all. I have print statements in the code, I didn't post them, I just wanted to be sure the code portion is correct. This hanging issue has only happened once I started the fork process. If I remove the Parallel::ForkManager and just let the script run one server after the other, then it runs fine, but it takes well over 5 minutes to complete. I have a snippet of logging from yesterday where the server became unusable. I have print statements that say when the program starts, when the child processes have ended. When we hit the timeout condition it appears that the server had issues.



02/16/15 10:34:03 Program SendRemote_PullMetrics Started

Mon Feb 16 10:36:28 2015: Waiting For All Child To Finish

Mon Feb 16 10:36:34 2015: All processes finished.

02/16/15 10:36:44 Program SendRemote_PullAPIMetrics Completed



02/16/15 10:39:05 Program SendRemote_PullMetrics Started

Mon Feb 16 10:41:39 2015: Waiting For All Child To Finish

Mon Feb 16 10:41:45 2015: All processes finished.

02/16/15 10:41:58 Program SendRemote_PullAPIMetrics Completed



02/16/15 10:44:07 Program SendRemote_PullMetrics Started

TimeOut Over 3 Minutes to Complete All Servers, Continuing...


Never got a complete message and then the Server became unusable.

  • Comment on Re^2: Parallel::ForkManager and possible memory leak