Created on 02-02-2015 10:36 AM - edited 09-16-2022 02:20 AM
I found that CM server 5.2 hangs intermittently(sometimes it hangs within a week, sometimes hangs after running for two weeks):
# service cloudera-scm-server status
cloudera-scm-server dead but pid file exists
And the last few lines of cloudera-scm-server.log shows:
2015-02-01 03:11:49,047 INFO JvmPauseMonitor:com.cloudera.enterprise.debug.JvmPauseMonitor: Detected pause in JVM or host machine (e.g. a stop the world GC, or JVM not scheduled): paused approximately 2901ms: GC pool 'ParNew' had collection(s): count=1 time=21ms, GC pool 'ConcurrentMarkSweep' had collection(s): count=2 time=3020ms
2015-02-01 03:11:49,060 INFO JvmPauseMonitor:com.cloudera.enterprise.debug.JvmPauseMonitor: Detected pause in JVM or host machine (e.g. a stop the world GC, or JVM not scheduled): paused approximately 2914ms: GC pool 'ParNew' had collection(s): count=1 time=21ms, GC pool 'ConcurrentMarkSweep' had collection(s): count=2 time=3020ms
2015-02-01 03:11:54,106 INFO JvmPauseMonitor:com.cloudera.enterprise.debug.JvmPauseMonitor: Detected pause in JVM or host machine (e.g. a stop the world GC, or JVM not scheduled): paused approximately 4546ms: no GCs detected.
2015-02-01 03:11:54,107 INFO JvmPauseMonitor:com.cloudera.enterprise.debug.JvmPauseMonitor: Detected pause in JVM or host machine (e.g. a stop the world GC, or JVM not scheduled): paused approximately 4558ms: no GCs detected.
How can I fix this problem? Thx!