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.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.