Jenkins hangs due to "Running CpsFlowExecution unresponsive"

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: Blocker
    • Environment:

      Three times in the last two weeks, we've had our Jenkins server stop responding to requests. When I check syslog, I see errors like this:

      Jun 30 16:07:18 jenkins [jenkins]: Jun 30, 2018 4:07:18 PM org.jenkinsci.plugins.workflow.support.concurrent.Timeout lambda$ping$0
      Jun 30 16:07:18 jenkins [jenkins]: INFO: Running CpsFlowExecutionOwner[project/263:project #263] unresponsive for 5 sec
      Jun 30 16:07:18 jenkins [jenkins]: Jun 30, 2018 4:07:18 PM org.jenkinsci.plugins.workflow.support.concurrent.Timeout lambda$ping$0
      Jun 30 16:07:18 jenkins [jenkins]: INFO: Running CpsFlowExecutionOwner[project/368:project #368] unresponsive for 5 sec
      Jun 30 16:07:18 jenkins [jenkins]: Jun 30, 2018 4:07:18 PM org.jenkinsci.plugins.workflow.support.concurrent.Timeout lambda$ping$0
      Jun 30 16:07:18 jenkins [jenkins]: INFO: Running CpsFlowExecutionOwner[project/318:project #318] unresponsive for 5 sec

      These seem to persist indefinitely and there don't seem to be any other relevant messages in the log. The Web UI just hangs until nginx times out.

      The Java process will then refuse to stop when I try to restart the service and I have to kill it with kill -9.

       

        1. 20180919-hangingjenkinsthreads-logs.txt
          440 kB
          Nico Schmoigl
        2. 20181012-statebefore.txt
          391 kB
          Nico Schmoigl
        3. ganthore-threads.dump
          2.34 MB
          Mark Austin
        4. image-2021-11-30-23-13-44-342.png
          458 kB
          Girish KG
        5. jenkins-thread-dump.txt
          81 kB
          John Wu
        6. Screen Shot 2019-01-02 at 22.46.07.png
          192 kB
          Damien Roche

            Assignee:
            Unassigned
            Reporter:
            Philip Douglas
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: