I know there are a lot of quite similar questions about standby/resume on natty here, but reading through all of these I think my issue is not directly related.
Standby/Resume used to work in 10.10, but after upgrading to 11.04 this issue occured. Going into standby works as expected but when resuming something completely occupies the harddisk - HDD LED keeps being on - and the computer (Thinkpad T500) is extremely slow. It takes ages to get the login screen, if it ever gets to that point. This state persists for at least half an hour.
I think that the something occupying the harddisk is the swap space. I managed to do a console login in that state and fire up "top". There I could see that swap space was at 2,5 GB (of 10 GB) while main memory usage was only at about 650 MB (of 4 GB). Before going into standby this normally is about vice versa, with swap being at 500 MB and main memory at about 3 GB.
Other maybe interesting data from top:
- "Waiting for IO" value was mostly at 99%
- Process "kswapd0" regularly took 1-2% of CPU
I can get the computer back to work regularly by by killing hard all processed that use very much virtual memory. These normally are firefox and a java instance running eclipse.
Other data about the system:
- Ubuntu 11.04 64-Bit
- Swappiness is at a default 60
Thanks for any insight on how to get to the cause of this annoying problem.
cat /proc/swaps? – nitstorm Aug 2 '11 at 13:52