I don’t seem to understand why my Ubuntu laptop would keep crashing after I resume it from hibernation. When I hibernate it and resume it after, it becomes unstable with graphic glitches, apps freezing and becoming non responsive and within a few minutes, the system would ultimately crash.
I am running Ubuntu 22.04 LTS with a fairly recent kernel (5.15.0-47). All software up to date with updates.
What could be the cause of this post hibernation crashes and what measures can solve it once and for all? Thanks in advance for your suggestions.
The computer needs to be powered off and powered on and not hibernate. This is because in hibernation it stills working on backend. Or even close session is better than hibernate. It is same for either Ubuntu or Windows system.
Hey, sorry for the late response. Did you figure it out?
Otherwise, my hypothesis is it has to do with your Nvidia GPU - Nvidia unfortunately does not play nicely with Linux, so you might have to do some searching.
When a computer is put to sleep, all active files and the current states of open applications are stored in the system’s memory. If you encounter issues upon waking the computer, such as slow performance or crashes, it may be attributed to various factors related to the system’s memory. These could include memory speed, insufficient memory capacity, or memory leakage, where the system fails to release memory that is no longer needed. To troubleshoot this, you can use specialized RAM testing tools to detect and diagnose any potential memory-related issues.
this is a big problem with the Ubuntu and i have faced it multiple times. If you want to overcome this then simply add a cron job in your profile and then it will not go to sleep. You can also use the free -m
[gauravsablok@fedora]~% free -m
total used free shared buff/cache available
Mem: 7779 6952 335 1903 2819 827
Swap: 7778 7000 778
to check the memory swapped. When the virtual memory is going to overcome the running memory the process will block. I have been maintaining cluster and installing and this is my go to routine. If you are using the mount disk then edit your
nano /etc/fstab
and put the disk in the unmount state and then after login you can mount it and in this way your disk will not be read while mounting.