My Jenkins server went down last night, and the log showed no signs of trouble. I am running:
Jenkins 1.565.1.LTS on
its own Winstone server on
Java HotSpot 64 bit 1.8.0_25-b17 on
Ubuntu 13.03 Saucy Salamander (yes, I know it’s out of date) on a vSphere VM.
The log entries ended at 5:20 yesterday afternoon and started again when I ran ‘service jenkins start’ at 8:20 this morning. The relevant log segment is listed below the fold.
I see no ‘JVM is terminating. Shutting down winstone’ message, so it doesn’t look like a user did an orderly shutdown.
This instance is a memory hog; it takes about 15 minutes to bring up and has over 1,000 projects. It is possible that the JVM ran out of memory or something, but I can’t tell.
The worst case scenario (though very unlikely) is that someone ran ‘kill -9’ against the server. In that case, there can’t be a log entry. But barring that, how can I increase the logging for typical shutdown conditions so that I have a better chance to know what happened next time?
--Rob
INFO: Branch development Project HSM DAL Manager Quick Static Code Analysis #129 main build action completed: SUCCESS
May 26, 2015 5:20:10 PM hudson.plugins.logparser.LogParserParser parseLogBody
INFO: LogParserParser: Start parsing : Branch development Project HSM DAL Manager Quick Static Code Analysis_build_129
May 26, 2015 5:20:13 PM hudson.plugins.logparser.LogParserParser parseLogBody
INFO: LogParserParser: Parsing took 0 minutes (3) seconds.
May 26, 2015 5:20:17 PM hudson.model.Run execute
INFO: Branch development Run SoapUI Smoke Tests #213 main build action completed: SUCCESS
May 26, 2015 5:20:18 PM hudson.model.Run execute
INFO: Branch development Smoke Tests #230 main build action completed: UNSTABLE
Running from: /usr/share/jenkins/jenkins.war.1.565.1.LTS
May 27, 2015 8:22:14 AM winstone.Logger logInternal
INFO: Beginning extraction from war file
May 27, 2015 8:22:14 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: jetty-8.y.z-SNAPSHOT
May 27, 2015 8:22:18 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet
Jenkins home directory: /var/lib/jenkins found at: EnvVars.masterEnvVars.get("JENKINS_HOME")
May 27, 2015 8:22:19 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started SelectChann...@0.0.0.0:8080
May 27, 2015 8:22:19 AM winstone.Logger logInternal
INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled
May 27, 2015 8:22:21 AM jenkins.InitReactorRunner$1 onAttained
INFO: Started initialization
May 27, 2015 8:22:23 AM hudson.ClassicPluginStrategy createPluginWrapper
INFO: Plugin subversion.jpi is disabled
May 27, 2015 8:22:24 AM hudson.ClassicPluginStrategy createPluginWrapper
INFO: Plugin cvs.jpi is disabled
May 27, 2015 8:22:25 AM jenkins.InitReactorRunner$1 onAttained
INFO: Listed all plugins