Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-71963

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • core, docker

      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

            csanchez Carlos Sanchez
            asgeirn asgeirn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: