Windows 11 Black Screen

empd2

New Member
Mar 9, 2024
6
0
1
I have around 35 windows 11 VM's. Every morning most randomly end up with a black screen and I have to stop and start them. They are good until the next day again. They are clones from a template. I have about 16 TB of SSD into a single ZFS node that they are all running off of. I have 512 GB Ram and the CPU for the entire PVE doesnt reach past 60%. Ram usage is at 89% overall. I have installed Virtio Drivers on each VM. I have change all the power usage on the Windows Settings to performance and ensured there is no power settings that shuts it down. There is nothing else that I am running. Any assistance would be lovely.


Below is the PVE:

1749769050877.png
Below is the config for the VM's:
1749769063102.png
 
if not needed i would suggest ejecting the iso's from the cdrom drives or even remove the cdrom drives completely.
maybe check the zfs arc cache usage with arc_summaryline ARC size (current) , not sure if the zfs arc cache usage is included in the pve node ram usage ...
 
  • Like
Reactions: _gabriel
if not needed i would suggest ejecting the iso's from the cdrom drives or even remove the cdrom drives completely.
maybe check the zfs arc cache usage with arc_summaryline ARC size (current) , not sure if the zfs arc cache usage is included in the pve node ram usage ...
Just removed all CD rom Drives.
Here is the Arc)summary Line:
1749830718649.png
1749830735105.png
1749830745459.png
1749830756610.png
1749830774799.png
1749830782591.png
1749830790376.png
1749830798173.png
1749830805554.png
1749830813665.png
 
Backups within guests ?
Windows Update reboot VM ? Patch Tuesday
Will Try this now.
Backups within guests ?
Windows Update reboot VM ? Patch Tuesday
What is Backups within guests?
1749831246114.png
Also, I am updating them all now. In the past, Everything was working fine until I had a crash (unrelated) I redid the server and the only difference this time around is, I cloned a installed Win11 from a template. Before I installed windows one by one separately.
 
indeed 16 GB dedicated to ZFS ARC + high memory usage reaches the limit.
try tweaking ksm to start at 75% instead default 80%.
nano /etc/ksmtuned.conf
KSM_THRES_COEF=25
systemctl restart ksmtuned.service
Will Try this now.
I mean Tuesday was Microsoft Patch Tuesday , where Windows OS download and install updates automatically following by Reboot if outside "Active Hours". Except if you have defined GPO which is recommended.

btw, edit previous posts, keep first Pict, or even better copy/paste text into CODE tags. No screenshot.
 
Last edited:
  • Like
Reactions: empd2
indeed 16 GB dedicated to ZFS ARC + high memory usage reaches the limit.
try tweaking ksm to start at 75% instead default 80%.
nano /etc/ksmtuned.conf
KSM_THRES_COEF=25
systemctrl restart ksmtuned.service

I mean Tuesday was Microsoft Patch Tuesday , where Windows OS download and install updates automatically following by Reboot if outside "Active Hours". Except if you have defined GPO which is recommended.

btw, edit last past, keep first Pict, or even better copy/paste text into CODE tags. No screenshot.
Did the nano and changed it.
systemctrl restart ksmtuned.service
Did not work. I am hoping it is "systemctl restart ksmtuned.service" and I did that and it went to new line because when I did "systemctrl restart ksmtuned.service" it was saying -bash systemctrl: command not found
 
Last edited: