Versions 2.117 to 2.119 of Jenkins hangs when the root context is requested on Solaris 10. The UI hangs indefinitely and never returns. Nothing is reported in the logs that there is an issue. If upgrading a previous installation jobs will continue to run in the back ground normally, however this issue happens on a clean install.

      To reproduce download the generic WAR file of versions 2.117, 2.118, or 2.119, which is the latest as of this time. Run the jenkins.war file on Solaris 10. Once it is reported that Jenkins is fully up and running try and get to the home page. The page should hang with no response.

      This prevents Jenkins from being usable on the Solaris. Please let me know if I can provide anything else.

       

       

        1. jenkins.log
          4 kB
        2. jenkins-2.121.3_2018-08-17.log
          4.94 MB
        3. jenkins-2.128_2018-08-17.log
          5.23 MB
        4. Jenkins-2.128.startup.log
          8 kB
        5. JenkinsSuccess-2.139-SNAPSHOT.jpg
          JenkinsSuccess-2.139-SNAPSHOT.jpg
          25 kB
        6. jenkins-thread-dump.log
          87 kB

          [JENKINS-51136] Jenkins UI hangs 2.117 - 2.119

          Marco Jacob added a comment -

          Changed start-script to:

          #!/bin/bash
          export LC_ALL="de_DE.ISO8859-15"
          export LANG="de_DE.ISO8859-15"
          export DTRACE_DOF_INIT_DISABLE=1
          #export JAVA_HOME=/data/apps/java/jdk1.8
          export JAVA_HOME=/data/apps/java/jdk1.8.0_181
          # Parameter fuer Content Security Policy - siehe SEU-343
          export JENKINS_ADD_OPTION_1="-Dhudson.model.DirectoryBrowserSupport.CSP=\"default-src 'none'; img-src 'self'; style-src 'self' 'unsafe-inline'; child-src 'self'; frame-src 'self';\""
          export JENKINS_JAVA_OPTIONS="-d64 -Djava.awt.headless=true -Xms4096m -Xmx4096m"
          export JENKINS_HOME=/data/apps/jenkins-home
          ulimit -n 4096
          nohup $JAVA_HOME/bin/java $JENKINS_JAVA_OPTIONS "$JENKINS_ADD_OPTION_1" -Djava.util.logging.config.file=/data/apps/scmadmin/jul.properties -jar /data/apps/jenkins/app/jenkins-2.128.war --prefix=/ci > $JENKINS_HOME/jenkins.log 2>&1

          New Logfile with 2.128 and JDK 1.8.0_181:

           jenkins-2.128_2018-08-17.log

          Marco Jacob added a comment - Changed start-script to: #!/bin/bash export LC_ALL="de_DE.ISO8859-15" export LANG="de_DE.ISO8859-15" export DTRACE_DOF_INIT_DISABLE=1 #export JAVA_HOME=/data/apps/java/jdk1.8 export JAVA_HOME=/data/apps/java/jdk1.8.0_181 # Parameter fuer Content Security Policy - siehe SEU-343 export JENKINS_ADD_OPTION_1="-Dhudson.model.DirectoryBrowserSupport.CSP=\"default-src 'none'; img-src 'self'; style-src 'self' 'unsafe-inline'; child-src 'self'; frame-src 'self';\"" export JENKINS_JAVA_OPTIONS="-d64 -Djava.awt.headless=true -Xms4096m -Xmx4096m" export JENKINS_HOME=/data/apps/jenkins-home ulimit -n 4096 nohup $JAVA_HOME/bin/java $JENKINS_JAVA_OPTIONS "$JENKINS_ADD_OPTION_1" -Djava.util.logging.config.file=/data/apps/scmadmin/jul.properties -jar /data/apps/jenkins/app/jenkins-2.128.war --prefix=/ci > $JENKINS_HOME/jenkins.log 2>&1 New Logfile with 2.128 and JDK 1.8.0_181:   jenkins-2.128_2018-08-17.log

          Marco Jacob added a comment -

          I forgot to wrote that it is still not working with new JDK and Version 2.128.

          Please have a look at the last logfile.

          Marco Jacob added a comment - I forgot to wrote that it is still not working with new JDK and Version 2.128. Please have a look at the last logfile.

          Olivier Lamy added a comment -

          as 80 is a huge number. Can you try reducing the number of GC Threads?

          Maybe -XX:ParallelGCThreads=20?

          Olivier Lamy added a comment - as 80 is a huge number. Can you try reducing the number of GC Threads? Maybe -XX:ParallelGCThreads=20?

          Marco Jacob added a comment -

          I can do this, but that is normal for server jvm on solaris. 2.107.3 is also running with this settings without any problem.

          Any other suggestions?

          Marco Jacob added a comment - I can do this, but that is normal for server jvm on solaris. 2.107.3 is also running with this settings without any problem. Any other suggestions?

          Marco Jacob added a comment -

          No change with reduced amount of GC.

          Marco Jacob added a comment - No change with reduced amount of GC.

          Olivier Lamy added a comment - - edited

          marco_jacob

          or anyone having the issue can you please the war here  http://home.apache.org/~olamy/jenkins/

          use --help for other new jetty options 

            

          Olivier Lamy added a comment - - edited marco_jacob or anyone having the issue can you please the war here  http://home.apache.org/~olamy/jenkins/ use --help for other new jetty options    

          Marco Jacob added a comment -

          Back from weekend. I will try it out now.

          Marco Jacob added a comment - Back from weekend. I will try it out now.

          Marco Jacob added a comment - - edited

          Success! It works! Jenkins 2.139 up and running.

          Marco Jacob added a comment - - edited Success! It works! Jenkins 2.139 up and running.

          Olivier Lamy added a comment -

          Good to hear feel free to vote/comment for JENKINS-53239 or https://github.com/jenkinsci/winstone/pull/54

          Olivier Lamy added a comment - Good to hear feel free to vote/comment for  JENKINS-53239 or  https://github.com/jenkinsci/winstone/pull/54

          Olivier Lamy added a comment -

          Olivier Lamy added a comment - https://github.com/jenkinsci/winstone/commit/74775cc02ef92feaf247e45a32b193e45800805a

            olamy Olivier Lamy
            laughingdev Justin Carpenter
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: