StarWindService cannot be stopped

Software-based VM-centric and flash-friendly VM storage + free version

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

Post Reply
vladimir@ngsoft.com
Posts: 4
Joined: Tue Mar 06, 2018 4:53 pm

Sun May 06, 2018 3:47 pm

Noted some problem after upgrading to v8_build_12146: the C:\Program Files\StarWind Software\StarWind\StarWindService.exe process (of the StarWind Virtual SAN Windows service) just doesn't exit when the service is stopped.
If I try to shutdown a machine, it gets stuck. The only workaround is to kill the process (or hard reset, if shutdown was attempted already).

Symptoms:
  • After attempt to stop the service, StarWindService.exe remains running. It doesn't listen on ports 3260 & 3261 anymore, but retains outgoing ESTABLISHED connections to other cluster members - to their ports 3260 (two connections to each) and 3261 (single connection to each).
  • The log's tail is comprised only of repeating messages like this one:
    5/6 18:22:09.253 18b4 ntsrv: *** NtService::watchdogProc: watchdog: service is still stopping... Updating service status.
    5/6 18:22:12.683 16f8 Srv: iScsiServer::cleanup: Waiting for 5 seconds for 1 SSC device(s) to close...
    5/6 18:22:17.684 16f8 Srv: iScsiServer::cleanup: Waiting for 5 seconds for 1 SSC device(s) to close...
    5/6 18:22:22.695 16f8 Srv: iScsiServer::cleanup: Waiting for 5 seconds for 1 SSC device(s) to close...
    5/6 18:22:25.758 18b4 ntsrv: *** NtService::watchdogProc: watchdog: service is still stopping... Updating service status.
    5/6 18:22:27.703 16f8 Srv: iScsiServer::cleanup: Waiting for 5 seconds for 1 SSC device(s) to close...
    5/6 18:22:32.712 16f8 Srv: iScsiServer::cleanup: Waiting for 5 seconds for 1 SSC device(s) to close...
    5/6 18:22:37.727 16f8 Srv: iScsiServer::cleanup: Waiting for 5 seconds for 1 SSC device(s) to close...
  • I backed the StarWind.cfg file, removed the current installation, rebooted Windows, performed a clean installation and verified that the problem doesn't occur with clean, default StarWind.cfg file. However, once I've restored the saved file, it resumed.
  • It doesn't occur on all cluster members. I have three-nodes cluster - it happens on 2nd & 3rd, but not on the 1st.
Any ideas how to fix this?

Thanks,
Vladimir.
Michael (staff)
Staff
Posts: 319
Joined: Thu Jul 21, 2016 10:16 am

Mon May 07, 2018 11:20 am

Hello Vladimir,
Could you please collect the logs from the systems where StarWind VSAN is installed and share them with us?
For quicker log collection, please use the collector, published here: https://knowledgebase.starwindsoftware. ... collector/
Thank you!
Post Reply