Hello.
I noticed that after a while of working openSUSE 11.3 eats all swap memory and freezes.
What I’ve got:
RAM: 1 GB
Swap: 2 GB
(first partition on the hard drive)
Usually I open just Krusader, Opera, Thunderbird, gedit and some other minor programs.
Slowly but steady all the swap memory disappears. Even if I close all applications it won’t became available again.
After around 20 hours of uptime it looks like this:
linux-an6e:/ # free -m
total used free shared buffers cached
Mem: 1007 908 98 0 17 394
-/+ buffers/cache: 495 511
Swap: 2053 1803 250
The program «top» along with the «shift+m» shortcut gives me this information:
top - 06:00:41 up 16:55, 3 users, load average: 0.05, 0.49, 1.05
Tasks: 145 total, 1 running, 144 sleeping, 0 stopped, 0 zombie
Cpu(s): 19.1%us, 8.9%sy, 0.0%ni, 68.6%id, 3.0%wa, 0.3%hi, 0.0%si, 0.0%st
Mem: 1031260k total, 929460k used, 101800k free, 20252k buffers
Swap: 2103292k total, 1847192k used, 256100k free, 413060k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1579 root 20 0 74968 14m 3840 S 13.6 1.5 80:19.83 Xorg
3105 johnny 20 0 101m 12m 6560 S 13.9 1.2 2:57.78 yakuake
2795 johnny 20 0 108m 11m 5400 S 0.0 1.1 4:09.91 main-menu
2717 johnny 20 0 138m 10m 5964 S 0.0 1.0 0:48.22 nautilus
2405 johnny 20 0 112m 9972 4916 S 0.3 1.0 3:27.42 gnome-panel
2371 johnny 20 0 29416 5440 3068 S 0.0 0.5 1:16.79 gtk-window-deco
2008 johnny 20 0 164m 5236 2884 S 0.7 0.5 1:58.14 gnome-settings-
2372 johnny 20 0 37356 4028 1380 S 1.3 0.4 12:06.42 compiz
3458 johnny 20 0 42984 3640 2552 S 0.0 0.4 0:01.51 klauncher
3527 johnny 20 0 83928 3320 2124 S 0.0 0.3 0:03.67 kglobalaccel
3100 johnny 20 0 92536 3288 1696 S 0.3 0.3 2:07.21 parcellite
1930 johnny 20 0 9644 2604 1060 S 0.3 0.3 0:04.69 gconfd-2
10901 johnny 20 0 90196 2492 1240 S 0.3 0.2 0:03.36 kwalletd
21056 johnny 20 0 39724 2432 1580 S 0.0 0.2 0:00.04 kio_file
7680 johnny 20 0 83448 2228 1464 S 0.0 0.2 0:02.78 knotify4
2087 johnny 20 0 117m 2088 1136 S 0.0 0.2 2:45.09 pulseaudio
3465 johnny 20 0 84788 1864 1232 S 0.0 0.2 0:04.58 kded4
3089 johnny 20 0 160m 1816 904 S 0.0 0.2 0:05.57 nm-applet
20419 johnny 20 0 5356 1740 808 S 0.0 0.2 0:00.64 bash
3095 johnny 20 0 34448 1712 960 S 0.0 0.2 0:01.29 python
2794 johnny 20 0 28220 1664 1072 S 0.3 0.2 1:02.56 multiload-apple
1795 johnny 20 0 30032 1608 1076 S 0.0 0.2 0:01.03 gnome-session
3085 johnny 20 0 167m 1492 800 S 0.0 0.1 0:01.39 gpk-update-icon
3099 johnny 20 0 156m 1368 712 S 0.0 0.1 0:01.40 gnome-volume-co
It says that nothing consumes the memory. Why then is almost the whole swap used?
After working another several hours the swap memory gets fully used, with 0 free megabytes left.
Right after that a process named kswapd0 boosts the load average level to the max and causes the system to freeze.
I even tried to reinstall openSUSE but it didn’t help. I thought it could be some opera or skype memory leaks but one of my friends uses Debian with exactly same programs on the same daily basis and never faced such problems. I also doesn’t remember such swap issues in earlier openSUSE versions.
Does anybody have a clue what’s going on? Or maybe even somebody else noticed such swap leaks?