Hung task timeout

killmasta93

Renowned Member
Aug 13, 2017
974
59
68
31
Hi,
I was wondering if someone could shed some light on what happened. So today something so odd proxmox running 5.2 all of sudden was getting hung task time out. and none of the vms were responding. And i could not get inside of proxmox webGUI. and if i tried though ssh it was really slow and would not respond sometimes. So i thought it a was a ram issue even though it has 32 gigs of ram. I had to reboot proxmox then i had to qm stop all the vms. I was reading about this error i did the following

Code:
sysctl -w vm.dirty_ratio=10
sysctl -w vm.dirty_background_ratio=5
 sysctl -p

Then to make it permanent

Code:
nano /etc/sysctl.conf
vm.dirty_ratio=10
vm.dirty_background_ratio=5

then reboot.
whats odd is that as soon as it reboot i could enter to proxmox webGUI but then found out the disks of local and local-zfs were full. So my question is was it acting this way because the disk was full or because it needed more ram?

See pictures

https://imgur.com/a/365ep5w

Thank you
 
Hi,

it looks like your HDD is not responding in the expected time.
You have SES and sde notification what is never a good sign.
Do you have a raid controller in this Server?
 
Thanks for the reply, currently running ZFS raid 1 with 2 disks. Im guessing because it got full it started to act this way. on a side note adding this to sysctl.conf would it help in the future?

Code:
vm.min_free_kbytes = 262144
vm.dirty_ratio = 5
vm.dirty_background_ratio = 1
vm.swappiness = 1