kirillkovalenko / nssm

Non-Sucking Service Manager
https://nssm.cc
736 stars 126 forks source link

nssm preventing system shutdown #7

Closed rbos closed 8 years ago

rbos commented 8 years ago

I've got a bunch of machines that I'm imaging, and during the process I start up some NSSM services (torrent seeds). Most of the time it's fine, but this morning, a bunch of the machines are getting stuck on shutdown, saying "shutting down services". When I look at my log server, I'm seeing a bunch of, eg,

Service seed-Maple#maple18 ran for less than 1500 milliseconds. Restart will be delayed by 2000 milliseconds.

and it continues indefinitely (left it for a half hour) for all six or so seed instances.

So I think what's happening is that Windows is shutting down and NSSM is auto-restarting the service despite a shutdown being in progress. I'm not sure why. This hasn't been a problem before, and I don't know what changed.

rbos commented 8 years ago

nssm 2.24, windows 7