please wait while jenkins is restarting- waiting long

I had a very similar issue when using jenkins build-in restart function. To fix it I killed the service (with crossed fingers), but somehow it kept serving the "Please wait" page. I guess it is served by a separate thread, but since i could not see any running java or jenkins processes i restarted the server to stop it.

After reboot jenkins worked but it was not updated. To make it work it I ran the update again and restarted the jenkins service manually - it took less than a minute and worked just fine...

Jenkins seems to have a number of bugs related to restarting, and at least one unresolved: jenkins issue


Windows ONLY....

All the solutions here didn't work and restarting the server was not an option. If you are in the same situation.

I had to kill java.exe and restart the jenkins service. After I did this Jenkins reloaded several times and then went back to normal.

I was stuck on the jenkins restarting page for 10-ish minutes untill I did this.

Hope this helps.

Tags:

Jenkins