Failed to start thread "GC Thread#0" - pthread_create failed (EPERM)

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

XMLWordPrintable

    • Type: Bug
    • Resolution: Not A Defect
    • Priority: Major
    • Component/s: core, docker
    • Environment:

      Docker Jenkins image fails to start, and crashes with the below output to the console.

      This started happening with 2.420, also happening on 2.421, versions up to 2.419 work just fine.

      jenkins-docker | [0.003s][warning][os,thread] Failed to start thread "GC Thread#0" - pthread_create failed (EPERM) for attributes: stacksize: 1024k, guardsize: 4k, detached.
      jenkins-docker | #
      jenkins-docker | # There is insufficient memory for the Java Runtime Environment to continue.
      jenkins-docker | # Cannot create worker GC thread. Out of system resources.
      jenkins-docker | # An error report file with more information is saved as:
      jenkins-docker | # /tmp/hs_err_pid6.log
      jenkins-docker exited with code 1

            Assignee:
            Carlos Sanchez
            Reporter:
            asgeirn
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: