LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   XOrg Memory Leak - OpenSuse 11.4 64bit (http://www.linuxquestions.org/questions/linux-software-2/xorg-memory-leak-opensuse-11-4-64bit-888076/)

dukiii 06-24-2011 04:35 AM

XOrg Memory Leak - OpenSuse 11.4 64bit
 
Hello to all.
Got memory leak on OpenSuse 11.4 64 bit version.
Here is an output for 5 days of standard usage:

XOrg: 29436K / 75625K / 241952K / 313420K / 371412K
Plasma desktop: 29788K / 81688K / 88208K / 89252K /93828K
Kwin: 31188K / 36984K / 37708K /50812K / 58028K

Even if I do nothing allocated memory gets bigger.

I'm using NVidia drivers provided via Yast repositories.

Anyone has hint or solution? When I logout or restart system memory usage drops, but after 3 - 4 days it gets too slow to work with, even with 8GB RAM on 6 core CPU.

These processes listed, after 3 days, are the top memory consumers.

Thank you for any hint or answer, and thanks to designator for hint about this new thread.

TB0ne 06-25-2011 01:47 PM

Quote:

Originally Posted by dukiii (Post 4394399)
Hello to all.
Got memory leak on OpenSuse 11.4 64 bit version.
Here is an output for 5 days of standard usage:

XOrg: 29436K / 75625K / 241952K / 313420K / 371412K
Plasma desktop: 29788K / 81688K / 88208K / 89252K /93828K
Kwin: 31188K / 36984K / 37708K /50812K / 58028K

Even if I do nothing allocated memory gets bigger. I'm using NVidia drivers provided via Yast repositories. Anyone has hint or solution? When I logout or restart system memory usage drops, but after 3 - 4 days it gets too slow to work with, even with 8GB RAM on 6 core CPU.

These processes listed, after 3 days, are the top memory consumers. Thank you for any hint or answer, and thanks to designator for hint about this new thread.

You should always open a new thread for your own question...especially after you've posted in a thread that's been closed for THREE YEARS.

First thing I'd suggest would be to use the nVidia drivers from the nVidia website, and see if that makes a difference. I'd also try to make sure you log out each day.

HardyHeroin 09-06-2011 02:24 AM

Confirming Xorg memory leak
 
I can confirm the memory leak in Xorg on openSUSE 10.4 64-bit with the proprietary NVidia drivers in use. My system is a HP Z600 workstation (Xeon machine) with 6GB of RAM. After a few days the machine becomes unusably slow and an Xorg restart or sometimes even a reboot is necessary.

As for any thought on a solution, or even where to start looking ... none yet.

HardyHeroin 09-13-2011 06:55 PM

Xorg using 1.2 GB
 
I'm still faced with this issue from day to day and thought I'd post a small update. My current Xorg memory usage (via top):

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2185 root 20 0 1301m 1.2g 18m S 3 31.6 18:38.72 Xorg
5036 user 20 0 1575m 655m 27m S 2 17.2 19:29.57 firefox-bin
4827 user 20 0 775m 170m 47m S 1 4.5 14:03.64 kwin
5337 user 20 0 480m 144m 20m S 4 3.8 13:04.55 plugin-containe
8710 user 20 0 492m 122m 23m S 0 3.2 0:06.96 okular
9175 user 20 0 488m 120m 23m S 0 3.1 0:15.98 okular
8811 user 20 0 533m 90m 23m S 0 2.4 0:18.06 okular
6273 user 20 0 434m 73m 26m S 0 1.9 3:56.86 texmaker
4841 user 20 0 985m 54m 26m S 0 1.4 2:43.86 plasma-desktop
4983 user 20 0 532m 37m 23m S 1 1.0 1:05.63 dolphin

Yes, that's 1.2 GB going to Xorg.

I still have no idea why and I'm currently looking into ways to start diagnosing the problem.

This might help, the output of htop:

1 [|||||||||||||||||||||||||| 25.8%] Tasks: 151, 269 thr; 1 running
2 [||||||||||||||||||||||| 23.4%] Load average: 0.14 0.17 0.15
3 [||||||||| 8.4%] Uptime: 19:13:26
4 [|||||| 4.6%]
Mem[|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 3006/3817MB]
Swp[| 149/16118MB]

PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command
2185 root 20 0 1301M 1207M 18528 S 18.0 31.6 19:12.69 /usr/bin/Xorg -br :0 vt7 -nolisten tcp -auth /var/lib/xdm/authdir/authfiles/A:0-P8Sagb
11271 user 20 0 1584M 669M 29036 S 0.0 17.5 0:00.01 /usr/lib64/firefox/firefox-bin --sm-config-prefix /firefox-bin-GFLMeo/ --sm-client-id 109ea2a162000131574132100000084760081 --screen 0
11266 user 20 0 1584M 669M 29036 S 0.0 17.5 0:00.00 /usr/lib64/firefox/firefox-bin --sm-config-prefix /firefox-bin-GFLMeo/ --sm-client-id 109ea2a162000131574132100000084760081 --screen 0
11182 user 20 0 1584M 669M 29036 S 0.0 17.5 0:00.00 /usr/lib64/firefox/firefox-bin --sm-config-prefix /firefox-bin-GFLMeo/ --sm-client-id 109ea2a162000131574132100000084760081 --screen 0
11073 user 20 0 1584M 669M 29036 S 0.0 17.5 0:00.00 /usr/lib64/firefox/firefox-bin --sm-config-prefix /firefox-bin-GFLMeo/ --sm-client-id 109ea2a162000131574132100000084760081 --screen 0
7865 user 20 0 1584M 669M 29036 S 0.0 17.5 0:00.00 /usr/lib64/firefox/firefox-bin --sm-config-prefix /firefox-bin-GFLMeo/ --sm-client-id 109ea2a162000131574132100000084760081 --screen 0
5428 user 20 0 1584M 669M 29036 S 0.0 17.5 0:00.02 /usr/lib64/firefox/firefox-bin --sm-config-prefix /firefox-bin-GFLMeo/ --sm-client-id 109ea2a162000131574132100000084760081 --screen 0
5336 user 20 0 1584M 669M 29036 S 0.0 17.5 0:00.00 /usr/lib64/firefox/firefox-bin --sm-config-prefix /firefox-bin-GFLMeo/ --sm-client-id 109ea2a162000131574132100000084760081 --screen 0
5309 user 20 0 1584M 669M 29036 S 0.0 17.5 0:00.61 /usr/lib64/firefox/firefox-bin --sm-config-prefix /firefox-bin-GFLMeo/ --sm-client-id 109ea2a162000131574132100000084760081 --screen 0
5292 user 20 0 1584M 669M 29036 S 0.0 17.5 0:01.03 /usr/lib64/firefox/firefox-bin --sm-config-prefix /firefox-bin-GFLMeo/ --sm-client-id 109ea2a162000131574132100000084760081 --screen 0
5290 user 20 0 1584M 669M 29036 S 0.0 17.5 0:00.86 /usr/lib64/firefox/firefox-bin --sm-config-prefix /firefox-bin-GFLMeo/ --sm-client-id 109ea2a162000131574132100000084760081 --screen 0
5287 user 20 0 1584M 669M 29036 S 0.0 17.5 0:00.00 /usr/lib64/firefox/firefox-bin --sm-config-prefix /firefox-bin-GFLMeo/ --sm-client-id 109ea2a162000131574132100000084760081 --screen 0
5286 user 20 0 1584M 669M 29036 S 0.0 17.5 0:04.44 /usr/lib64/firefox/firefox-bin --sm-config-prefix /firefox-bin-GFLMeo/ --sm-client-id 109ea2a162000131574132100000084760081 --screen 0
5285 user 20 0 1584M 669M 29036 S 0.0 17.5 0:03.73 /usr/lib64/firefox/firefox-bin --sm-config-prefix /firefox-bin-GFLMeo/ --sm-client-id 109ea2a162000131574132100000084760081 --screen 0
5284 user 20 0 1584M 669M 29036 S 0.0 17.5 0:00.00 /usr/lib64/firefox/firefox-bin --sm-config-prefix /firefox-bin-GFLMeo/ --sm-client-id 109ea2a162000131574132100000084760081 --screen 0
5274 user 20 0 1584M 669M 29036 S 0.0 17.5 0:00.00 /usr/lib64/firefox/firefox-bin --sm-config-prefix /firefox-bin-GFLMeo/ --sm-client-id 109ea2a162000131574132100000084760081 --screen 0
5273 user 20 0 1584M 669M 29036 S 0.0 17.5 0:00.00 /usr/lib64/firefox/firefox-bin --sm-config-prefix /firefox-bin-GFLMeo/ --sm-client-id 109ea2a162000131574132100000084760081 --screen 0
5272 user 20 0 1584M 669M 29036 S 0.0 17.5 0:00.00 /usr/lib64/firefox/firefox-bin --sm-config-prefix /firefox-bin-GFLMeo/ --sm-client-id 109ea2a162000131574132100000084760081 --screen 0
5263 user 20 0 1584M 669M 29036 S 0.0 17.5 0:00.61 /usr/lib64/firefox/firefox-bin --sm-config-prefix /firefox-bin-GFLMeo/ --sm-client-id 109ea2a162000131574132100000084760081 --screen 0
5259 user 20 0 1584M 669M 29036 S 0.0 17.5 0:00.00 /usr/lib64/firefox/firefox-bin --sm-config-prefix /firefox-bin-GFLMeo/ --sm-client-id 109ea2a162000131574132100000084760081 --screen 0
5257 user 20 0 1584M 669M 29036 S 0.0 17.5 0:00.00 /usr/lib64/firefox/firefox-bin --sm-config-prefix /firefox-bin-GFLMeo/ --sm-client-id 109ea2a162000131574132100000084760081 --screen 0
5256 user 20 0 1584M 669M 29036 S 0.0 17.5 0:01.37 /usr/lib64/firefox/firefox-bin --sm-config-prefix /firefox-bin-GFLMeo/ --sm-client-id 109ea2a162000131574132100000084760081 --screen 0
5253 user 20 0 1584M 669M 29036 S 0.0 17.5 0:01.07 /usr/lib64/firefox/firefox-bin --sm-config-prefix /firefox-bin-GFLMeo/ --sm-client-id 109ea2a162000131574132100000084760081 --screen 0
5252 user 20 0 1584M 669M 29036 S 0.0 17.5 0:06.92 /usr/lib64/firefox/firefox-bin --sm-config-prefix /firefox-bin-GFLMeo/ --sm-client-id 109ea2a162000131574132100000084760081 --screen 0
5238 user 20 0 1584M 669M 29036 S 0.0 17.5 0:03.18 /usr/lib64/firefox/firefox-bin --sm-config-prefix /firefox-bin-GFLMeo/ --sm-client-id 109ea2a162000131574132100000084760081 --screen 0
5237 user 20 0 1584M 669M 29036 S 0.0 17.5 1:01.38 /usr/lib64/firefox/firefox-bin --sm-config-prefix /firefox-bin-GFLMeo/ --sm-client-id 109ea2a162000131574132100000084760081 --screen 0
5236 user 20 0 1584M 669M 29036 S 0.0 17.5 0:24.51 /usr/lib64/firefox/firefox-bin --sm-config-prefix /firefox-bin-GFLMeo/ --sm-client-id 109ea2a162000131574132100000084760081 --screen 0
5235 user 20 0 1584M 669M 29036 S 0.0 17.5 0:00.47 /usr/lib64/firefox/firefox-bin --sm-config-prefix /firefox-bin-GFLMeo/ --sm-client-id 109ea2a162000131574132100000084760081 --screen 0
5226 user 20 0 1584M 669M 29036 S 0.0 17.5 0:00.00 /usr/lib64/firefox/firefox-bin --sm-config-prefix /firefox-bin-GFLMeo/ --sm-client-id 109ea2a162000131574132100000084760081 --screen 0
5036 user 20 0 1584M 669M 29036 S 1.0 17.5 20:28.65 /usr/lib64/firefox/firefox-bin --sm-config-prefix /firefox-bin-GFLMeo/ --sm-client-id 109ea2a162000131574132100000084760081 --screen 0
4836 user 20 0 775M 172M 48400 S 0.0 4.5 0:00.00 kwin -session 101ec17b14c12f000130528140700000026440000_1315888788_12249
4831 user 20 0 775M 172M 48400 S 0.0 4.5 0:00.00 kwin -session 101ec17b14c12f000130528140700000026440000_1315888788_12249
4827 user 20 0 775M 172M 48400 S 16.0 4.5 14:32.78 kwin -session 101ec17b14c12f000130528140700000026440000_1315888788_12249
10916 user 20 0 480M 144M 20920 S 0.0 3.8 0:00.02 /usr/lib64/firefox/plugin-container /home/user/.mozilla/plugins/libflashplayer.so -greomni /usr/lib64/firefox/omni.jar 5036 true plugin
10915 user 20 0 480M 144M 20920 S 0.0 3.8 0:00.01 /usr/lib64/firefox/plugin-container /home/user/.mozilla/plugins/libflashplayer.so -greomni /usr/lib64/firefox/omni.jar 5036 true plugin
10913 user 20 0 480M 144M 20920 S 0.0 3.8 0:00.01 /usr/lib64/firefox/plugin-container /home/user/.mozilla/plugins/libflashplayer.so -greomni /usr/lib64/firefox/omni.jar 5036 true plugin
10437 user 20 0 480M 144M 20920 S 0.0 3.8 0:00.04 /usr/lib64/firefox/plugin-container /home/user/.mozilla/plugins/libflashplayer.so -greomni /usr/lib64/firefox/omni.jar 5036 true plugin
10108 user 20 0 480M 144M 20920 S 0.0 3.8 0:00.05 /usr/lib64/firefox/plugin-container /home/user/.mozilla/plugins/libflashplayer.so -greomni /usr/lib64/firefox/omni.jar 5036 true plugin
5413 user 20 0 480M 144M 20920 S 0.0 3.8 0:00.42 /usr/lib64/firefox/plugin-container /home/user/.mozilla/plugins/libflashplayer.so -greomni /usr/lib64/firefox/omni.jar 5036 true plugin
5348 user 20 0 480M 144M 20920 S 0.0 3.8 0:00.00 /usr/lib64/firefox/plugin-container /home/user/.mozilla/plugins/libflashplayer.so -greomni /usr/lib64/firefox/omni.jar 5036 true plugin
5347 user 20 0 480M 144M 20920 S 0.0 3.8 0:00.04 /usr/lib64/firefox/plugin-container /home/user/.mozilla/plugins/libflashplayer.so -greomni /usr/lib64/firefox/omni.jar 5036 true plugin
5346 user 20 0 480M 144M 20920 S 0.0 3.8 0:00.02 /usr/lib64/firefox/plugin-container /home/user/.mozilla/plugins/libflashplayer.so -greomni /usr/lib64/firefox/omni.jar 5036 true plugin

accandme 11-24-2011 08:23 AM

I have the same problem, Xorg is eating 1GB of my RAM.

OS Information
OS: Linux 2.6.37.6-0.9-desktop x86_64
System: openSUSE 11.4 (x86_64)
KDE: 4.6.00 (4.6.0) "release 6"

Display Info
Vendor: nVidia Corporation
Model: Quadro NVS 150M
2D driver: nvidia
3D driver: NVIDIA 285.05.09

Any solution yet?


All times are GMT -5. The time now is 12:46 AM.