Software-based VM-centric and flash-friendly VM storage + free version
Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)
-
chell
- Posts: 48
- Joined: Mon Dec 11, 2017 1:19 am
Mon Feb 26, 2018 11:02 am
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?
-
Oleg(staff)
- Staff
- Posts: 568
- Joined: Fri Nov 24, 2017 7:52 am
Mon Feb 26, 2018 2:04 pm
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.
-
chell
- Posts: 48
- Joined: Mon Dec 11, 2017 1:19 am
Mon Feb 26, 2018 3:01 pm
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.
-
Boris (staff)
- Staff
- Posts: 805
- Joined: Fri Jul 28, 2017 8:18 am
Mon Feb 26, 2018 9:15 pm
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.