I see this issue at every single restart, safeRestart or not. It seems to be related to the connected slaves:
aug. 10, 2017 1:00:08 PM jenkins.model.Jenkins$26 run
INFO: Restart in 10 seconds
aug. 10, 2017 1:00:18 PM jenkins.model.Jenkins$26 run
SEVERE: Restarting VM as requested by nkj
aug. 10, 2017 1:00:18 PM jenkins.model.Jenkins cleanUp
INFO: Stopping Jenkins
aug. 10, 2017 1:00:18 PM jenkins.model.Jenkins$21 onAttained
INFO: Started termination
aug. 10, 2017 1:00:18 PM jenkins.model.Jenkins$21 onAttained
INFO: Completed termination
aug. 10, 2017 1:00:18 PM jenkins.model.Jenkins _cleanUpDisconnectComputers
INFO: Starting node disconnection
aug. 10, 2017 1:00:18 PM jenkins.slaves.DefaultJnlpSlaveReceiver channelClosed
WARNING: safe-restart thread for EAC3 Win10 (dtdkcphpw200044) terminated
java.nio.channels.ClosedChannelException
environment: Windows 2008 server, slaves are Jnlp connected windows 10 and SSH connected Linux. Jenkins version 2.73. Please NOTE: I run the Jenkins service as an Active Directory user, not a local system account.
The result is that Jenkins stops, but never restarts:
INFO: Waiting for node disconnection completion
aug. 10, 2017 1:00:20 PM jenkins.model.Jenkins cleanUp
INFO: Jenkins stopped
If I look at the service state using "Services", Jenkins appear to be running. A "Restart the service" brings it back up.
No strong opinion. SEVERE is intentional to make it visible in system logs, but I admit it may confuse external monitoring systems