LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-24-2011, 04:35 AM   #1
dukiii
LQ Newbie
 
Registered: Jun 2011
Posts: 2

Rep: Reputation: Disabled
Unhappy 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.
 
Old 06-25-2011, 01:47 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,566

Rep: Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556
Quote:
Originally Posted by dukiii View Post
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.
 
Old 09-06-2011, 02:24 AM   #3
HardyHeroin
LQ Newbie
 
Registered: Sep 2011
Posts: 2

Rep: Reputation: Disabled
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.
 
Old 09-13-2011, 06:55 PM   #4
HardyHeroin
LQ Newbie
 
Registered: Sep 2011
Posts: 2

Rep: Reputation: Disabled
Post 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

Last edited by HardyHeroin; 09-13-2011 at 07:00 PM. Reason: added output from htop
 
Old 11-24-2011, 08:23 AM   #5
accandme
LQ Newbie
 
Registered: Nov 2011
Posts: 1

Rep: Reputation: Disabled
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?
 
  


Reply

Tags
memoryleak, opensuse, xorg


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Memory leak: How risky not to free allocated memory. kaz2100 Linux - General 1 12-24-2008 12:00 AM
Inactive memory issue, Freebsd (memory leak?) JasperB *BSD 7 08-12-2008 03:19 AM
Xorg memory usage (leak) ideasman Linux - General 1 08-09-2007 08:14 PM
Xorg memory leak? jiml8 Linux - Software 7 07-21-2007 11:40 PM
Memory Leak when using memory debugging C program on SuSE SLES8 babalina Linux - Distributions 0 10-06-2003 09:39 AM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration