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

Jenkins is getting crashed and shutting down once in a while

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Not A Defect
    • Component/s: core
    • Labels:
    • Environment:
      Jenkins version=1.580.1, OS=Linux, Flavor=SLES11, Java version=1.6 Container=Tomcat 7.0.47
    • Similar Issues:

      Description

      Our Jenkins master instance got crashed around 3 times in one week and it is getting shutdown by itself once in a while(once or twice per a day). I had mentioned the Environment details in the Environment Field. I am also attaching the last three Jenkins crash logs. This is a serious blocker for our Team, Please let us know what is the issue and remedy.

      Please do let me know if you need further details

      Quick response will be much useful !! Thanks in advance

      Regards,
      Vamsi Hari

        Attachments

        1. hs_err_pid12702.log
          124 kB
        2. hs_err_pid13387.log
          131 kB
        3. hs_err_pid22195.log
          106 kB
        4. hs_err_pid26226.log
          126 kB
        5. hs_err_pid5705.log
          122 kB
        6. PortalEXT-EAR-deployment-PEO-config.xml
          11 kB
        7. PortalEXT-myts-static-STATIC-deployment-config.xml
          8 kB
        8. support.zip
          1.16 MB
        9. System Information [Jenkins].htm
          37 kB

          Activity

          Hide
          danielbeck Daniel Beck added a comment -

          I'd try to make sure to unset the http_proxy and related environment variables before starting the Jenkins process (or rather Tomcat in your case?), instead (if necessary) using proxy configuration in Jenkins (Manage Jenkins » Manage Plugins » Advanced). This may result in child processes (e.g. shell scripts and the tools they run) not inheriting the proxy configuration by default though.

          The bug may well be in the gconf (Gnome) library or the JDK, as that's where the crash occurs.
          http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/file/54acd5cd0485/src/solaris/native/sun/net/spi/DefaultProxySelector.c#l155

          Please also note that the user and password to the proxy are included in plain text in the support bundle (nodes/master/environment.txt), so you should change those now.

          Show
          danielbeck Daniel Beck added a comment - I'd try to make sure to unset the http_proxy and related environment variables before starting the Jenkins process (or rather Tomcat in your case?), instead (if necessary) using proxy configuration in Jenkins (Manage Jenkins » Manage Plugins » Advanced). This may result in child processes (e.g. shell scripts and the tools they run) not inheriting the proxy configuration by default though. The bug may well be in the gconf (Gnome) library or the JDK, as that's where the crash occurs. http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/file/54acd5cd0485/src/solaris/native/sun/net/spi/DefaultProxySelector.c#l155 Please also note that the user and password to the proxy are included in plain text in the support bundle (nodes/master/environment.txt), so you should change those now.
          Hide
          hvamsik Vamsi Hari added a comment -

          Thanks Daniel for your help,
          I will try removing all the proxy related environment variables and restarting the Jenkins container(Tomcat) and let you know about the result.

          Show
          hvamsik Vamsi Hari added a comment - Thanks Daniel for your help, I will try removing all the proxy related environment variables and restarting the Jenkins container(Tomcat) and let you know about the result.
          Hide
          hvamsik Vamsi Hari added a comment -

          Hey Daniel - We had tried by commenting the proxy related env variables in the host. we had only specified the proxy settings in the Jenkins UI, but the Jenkins crashes still persists. I am attaching the most recent crash log. Please verify,

          We truly appreciate your help,
          Thanks and Regards,
          Vamsi Hari

          Show
          hvamsik Vamsi Hari added a comment - Hey Daniel - We had tried by commenting the proxy related env variables in the host. we had only specified the proxy settings in the Jenkins UI, but the Jenkins crashes still persists. I am attaching the most recent crash log. Please verify, We truly appreciate your help, Thanks and Regards, Vamsi Hari
          Hide
          danielbeck Daniel Beck added a comment -

          This appears to be a bug in your JDK, and has nothing to do with Jenkins (except that it runs code that causes the JDK code to run).

          See:
          http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7188755
          https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/885195
          http://mail.openjdk.java.net/pipermail/jdk7u-dev/2012-August/003911.html

          Show
          danielbeck Daniel Beck added a comment - This appears to be a bug in your JDK, and has nothing to do with Jenkins (except that it runs code that causes the JDK code to run). See: http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7188755 https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/885195 http://mail.openjdk.java.net/pipermail/jdk7u-dev/2012-August/003911.html
          Hide
          hvamsik Vamsi Hari added a comment -

          Thanks Daniel for your help,
          We will keep posted if we find any solution for this java bug.

          Cheers,
          Vamsi Hari

          Show
          hvamsik Vamsi Hari added a comment - Thanks Daniel for your help, We will keep posted if we find any solution for this java bug. Cheers, Vamsi Hari

            People

            • Assignee:
              Unassigned
              Reporter:
              hvamsik Vamsi Hari
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: