Page 1 of 1

Slow to shutdown.

Posted: Mon Feb 26, 2018 11:02 am
by chell
Why is starwind so slow to shutdown? it takes a good 30 minutes.
One of my clients had a power failure. The ups units didn't last long enough for a clean shutdown.
Is there any way to do a quick shutdown?

Re: Slow to shutdown.

Posted: Mon Feb 26, 2018 2:04 pm
by Oleg(staff)
Hi chell,
It looks like you have quite a large amount of L1 RAM cache and it takes quite a large amount of time to write all this cache to the storage in order to avoid data loss and proper StarWind stop.
Actually, it can be the reason.

Re: Slow to shutdown.

Posted: Mon Feb 26, 2018 3:01 pm
by chell
So if the memory is the cause. What does the flushcache.ps1 script do? That script runs in a few seconds. Starwind still takes the same amount of time to shutdown weather I run the flushcache script or not.

Re: Slow to shutdown.

Posted: Mon Feb 26, 2018 9:15 pm
by Boris (staff)
The FlushCache script triggers cache flushing to the disk. This action helps minimizing the possibility of full synchronization upon a server reboot or a simple StarWind service restart. That script triggers cache flushing only for the device indicated in it. If your build is 11818, it includes the FlushCacheAll.ps1 script, which iterates through all devices and does the job for all of them. You can try that and see whether this changes anything in your case.