HANG notifications

From GigaTux Wiki
Revision as of 15:54, 18 December 2016 by Cocodude (talk | contribs) (Created page with "HANG notifications can be generated from cPanel if there is an NFS mount that's no longer connected properly. cPanel also have a tool that can try to get information on what'...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

HANG notifications can be generated from cPanel if there is an NFS mount that's no longer connected properly.

cPanel also have a tool that can try to get information on what's causing the hang:

If you see this happen in the future, it might be possible to obtain further information on the issue by allowing a command such as below to run for a period while the issue continues to occur :

# serviceName=tailwatchd ; x=1; while [ $x = 1 ]; do process=`pgrep -f $serviceName`; if [ $process ]; then x=0; fi; done; strace -vvtFf -s 2048 -o /home/strace.service.`date +"%m_%d_%Y_%H_%M"`.$serviceName.pid-$process.strace -p $process

This should create a trace of the process named something like /home/strace.service.12_14_2016_17_30.tailwatchd.pid-8603.strace, this may contain further information about where specifically this is hanging; if you did manage to capture this, we could definitely review the trace to see if we might be able to discern the cause, or potentially improve the handling for such situations.