Due to some maintenance issues, this service has been switched in read-only mode, you can find more information about the why

and how to migrate your plugin documentation in this blogpost

Skip to end of metadata
Go to start of metadata

If your Jenkins is hanging, we need some additional information from you to be able to diagnose the problem.

Tell us which kind of hang this is

First, check if Jenkins responds to the HTTP requests. For example, if it does but it always shows "Please wait while Jenkins is getting ready to work...", please tell that to us. If it doesn't respond to requests at all, please tell that to us, too.

The most common forms of hangups are:

  1. Jenkins shows "Please wait while Jenkins is getting ready to work..." for long time and it never comes up.
  2. Jenkins is not picking up HTTP requests, so all attempts to connect hang and no page is ever rendered. This is often caused by a dead lock.
  3. Jenkins runs out of heap space and goes into a fatal GC spiral.

Either case, check the following steps to obtain further details:

  • See Obtaining a thread dump and obtain a thread dump.
  • Use jmap -heap to obtain the heap summary information. This is primarily to see if the system is in the GC spiral. If possible, add the -dump:format=b,file=heap.hprof option to obtain the full heap dump, or use kill -SIGABRT to generate the core dump. Send that to us and it'll be lot easier for us to understand what's going on.

Similarly, if the hang is the "Please wait while Jenkins is getting ready to work..." kind of hang, please repeat this process a few times with several minutes (or longer) interval and report them all.

  • No labels

5 Comments

  1. Unknown User (maitreymishra23)

    On restarting jenkins, it takes longer to load the jenkins web interface ie. almost 8-14 hours.

    Accessing, http://your.jenkins.server/threadDump   shows "Please wait while Jenkins is getting ready to work"

    I have attached the dumps.jmap

  2. Unknown User (gaumzy09)

    Hi,

    Its been 2 hrs and i am seeing the message 

    Please wait while Jenkins is restartin

    Your browser will reload automatically when Jenkins is ready.

    can you help 

     not able to get the logs what should i do. if i restart the server will it hurt anything or will i lost my data

    this happened when I was downgrading to a previous version of jenkins

  3. Unknown User (versalian)

    Our Jenkins master seems to stop responding to HTTP requests after ~30mins to an hour.

    This happened after I made changes to Jenkins config to use US/Pacific timezone, though the change is irrelevant and the problem seems to be related to plugins (?)

    Dump: ThreadDump.txt

  4. Unknown User (sarithakonijeti)

    Hi,
    Our Jenkins seems to stop responding to HTTP requests. I am not able to get the logs also. This issue started when I installed Perl Plugins. So, I uninstalled Per Plugins. 
    We have many projects are running on that Jenkins server. Our Jenkins are working on Windows server 2012. 
    Can any one help me please. 

    Thanks in advance

  5. Unknown User (immancy)

    Hi, 

    My UI stopped working all of a sudden, and the dump doesn't work either. its returning this error, so i couldn't see what caused froze UI.



    jstack [-l] 20036
    Attaching to core 20036 from executable [-l], please wait...
    Error attaching to core file: cannot open binary file
    sun.jvm.hotspot.debugger.DebuggerException: cannot open binary file
    at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach0(Native Method)
    at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach(LinuxDebuggerLocal.java:286)
    at sun.jvm.hotspot.HotSpotAgent.attachDebugger(HotSpotAgent.java:673)
    at sun.jvm.hotspot.HotSpotAgent.setupDebuggerLinux(HotSpotAgent.java:611)
    at sun.jvm.hotspot.HotSpotAgent.setupDebugger(HotSpotAgent.java:337)
    at sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:304)
    at sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:156)
    at sun.jvm.hotspot.tools.Tool.start(Tool.java:191)
    at sun.jvm.hotspot.tools.Tool.execute(Tool.java:118)
    at sun.jvm.hotspot.tools.JStack.main(JStack.java:92)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at sun.tools.jstack.JStack.runJStackTool(JStack.java:140)
    at sun.tools.jstack.JStack.main(JStack.java:106)