Hello. I have Suse 8.0 with kde3 and my sytem is very fast (PIII 850MHz with 320Mo of RAM and a swap about 260Mo ) at boot time but become very slow after a few hours. With procman i get a root task kdm X using about 77 Mo memory after booting, but about 300Mo after a few hours. What can i do about that? I know at my swap is not optimum but i was having much less RAM when i have installed the system and i have not yet the oportunity to reinstall it with a bigger swap. I think at the problem is the RAM usage, because the kdm X process is using it (about 300Mo on 320 after a few hours) . Is it possible to clean this RAM ? Even if i close all the programs except kdm and procman the memory usage of kdm X is not going down.
It's called a "memory leak" and X is notorious for this. Basically, there is not too much you can do. You could login on a console and startx from there... upon loggin out the X server will be shutdown and will free the memory. Other than that, the only thing I can recommend is buying more memory. :-) - Herman Dominique Michel wrote:
Hello. I have Suse 8.0 with kde3 and my sytem is very fast (PIII 850MHz with 320Mo of RAM and a swap about 260Mo ) at boot time but become very slow after a few hours. With procman i get a root task kdm X using about 77 Mo memory after booting, but about 300Mo after a few hours. What can i do about that? I know at my swap is not optimum but i was having much less RAM when i have installed the system and i have not yet the oportunity to reinstall it with a bigger swap. I think at the problem is the RAM usage, because the kdm X process is using it (about 300Mo on 320 after a few hours) . Is it possible to clean this RAM ? Even if i close all the programs except kdm and procman the memory usage of kdm X is not going down.
On the other hand, there are thousands of people using SuSE8/KDE and X without a problem, so maybe buying a bunch more memory is not really a solution. And if it is a memory leak, it will just fill up your nice new memory as well, although it will take longer. One thing to check, is the memory usage going up slowly and consistently, or does it jump when a particular program is started? And what version of X are you using? The one that came with SuSE8? You could try getting a later version from xfree86.org Throwing money at problems is not usually the best way to solve them. jalal Herman Knief wrote:
It's called a "memory leak" and X is notorious for this. Basically, there is not too much you can do. You could login on a console and startx from there... upon loggin out the X server will be shutdown and will free the memory. Other than that, the only thing I can recommend is buying more memory. :-)
- Herman
Dominique Michel wrote:
Hello. I have Suse 8.0 with kde3 and my sytem is very fast (PIII 850MHz with 320Mo of RAM and a swap about 260Mo ) at boot time but become very slow after a few hours. With procman i get a root task kdm X using about 77 Mo memory after booting, but about 300Mo after a few hours. What can i do about that? I know at my swap is not optimum but i was having much less RAM when i have installed the system and i have not yet the oportunity to reinstall it with a bigger swap. I think at the problem is the RAM usage, because the kdm X process is using it (about 300Mo on 320 after a few hours) . Is it possible to clean this RAM ? Even if i close all the programs except kdm and procman the memory usage of kdm X is not going down.
On Thursday 11 July 2002 07:56 am, jalal wrote:
thousands of people using SuSE8/KDE and X without a problem
running SuSE 8 , X occasionally starts using big lumps of CPU as shown by < top > ~ guess it is Konq triggers this. ~ seems best to kill X and re-start { am using WindowMaker } -- best wishes ____________ sent on Linux ____________
On Wednesday 10 July 2002 9:03 pm, Herman Knief wrote:
It's called a "memory leak" and X is notorious for this.
Now wait a minute...I've been running KDE 3.0.1 on SuSE 8.0 for weeks without a reboot or restart of X, and I've had no such trouble. I'm opening all sorts of applications throughout the day. I only use 256MB of DDR RAM and X is using about 4-5% (using 'top'). Could he have a faulty installation?
Do you run KDM or XDM? Or are you starting X from a command prompt? When you run top, check the "size" column... X is *almost* always the largest process on every Linux box I come across. Also look at the memory stats in terms of used/free and the amount allocated to buffer or cache. - Herman On Thu, 11 Jul 2002, Rodd Ahrenstorff wrote: ->On Wednesday 10 July 2002 9:03 pm, Herman Knief wrote: ->> It's called a "memory leak" and X is notorious for this. -> ->Now wait a minute...I've been running KDE 3.0.1 on SuSE 8.0 for weeks without ->a reboot or restart of X, and I've had no such trouble. I'm opening all ->sorts of applications throughout the day. I only use 256MB of DDR RAM and X ->is using about 4-5% (using 'top'). -> ->Could he have a faulty installation? -> ->-- ->To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com ->For additional commands send e-mail to suse-linux-e-help@suse.com ->Also check the archives at http://lists.suse.com -> ->
Well, I will prove to start X from a console when this message will be send. Now after maybe 18 hours at my system is on, i get X using 223,2 MB ; RSS 126,9MB ; and shared 6,0MB. The cpu usage is very low, between 0 and 6% at peak for X, generally 3%. From the console, i get total used free shared buffers cached Mem: 320100 316372 3728 0 41296 36108 -/+ buffers/cache: 238968 81132 Swap: 265064 62848 202216 I'm not using big database, but program like electric, pcb, staroffice 5.2 for the frame set capability, the GIMP, some MIDI programs too. I know at electric can use a very big amount of memory, it is working like a database, but i'im not doing electronic circuits with more as 100 to 150 components, all discrete components, no IC or so with a lote of pines, and i have much more used pcb as electric those last weeks. For the electronics i'm doing (Hi-end guitar amplifiers with electronic tubes) my need is much more to do, as fast as possible, the implementation of some prints as the simulation, and pcb is much more easy to use as electric for that. For the simulation, to test the validity of an idee before doing precise calculation, the windows demo version of Microcap is enough for me and it is very easy to use and working fine with wine. And as the sound is the sound, the last word is always with the job on the prototype, not with my computer. My graphics card is a i815 that is using the RAM memory and my configuration is 1024x768 colors 24bits So i will reboot and start X from a console. Thank's to all. Dominique Herman L. Knief wrote:
Do you run KDM or XDM? Or are you starting X from a command prompt? When you run top, check the "size" column... X is *almost* always the largest process on every Linux box I come across. Also look at the memory stats in terms of used/free and the amount allocated to buffer or cache.
- Herman
On Thu, 11 Jul 2002, Rodd Ahrenstorff wrote:
->On Wednesday 10 July 2002 9:03 pm, Herman Knief wrote: ->> It's called a "memory leak" and X is notorious for this. -> ->Now wait a minute...I've been running KDE 3.0.1 on SuSE 8.0 for weeks without ->a reboot or restart of X, and I've had no such trouble. I'm opening all ->sorts of applications throughout the day. I only use 256MB of DDR RAM and X ->is using about 4-5% (using 'top'). -> ->Could he have a faulty installation? -> ->-- ->To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com ->For additional commands send e-mail to suse-linux-e-help@suse.com ->Also check the archives at http://lists.suse.com -> ->
Thanks for the explanation. I will buy more memory. I think at the right number is so much as my mother card and my budget can accept. And for the swap, must i have a swap 2 times bigger as the RAM memory even if i have a lot of RAM? Dominique Herman Knief wrote:
It's called a "memory leak" and X is notorious for this. Basically, there is not too much you can do. You could login on a console and startx from there... upon loggin out the X server will be shutdown and will free the memory. Other than that, the only thing I can recommend is buying more memory. :-)
- Herman
Dominique Michel wrote:
Hello. I have Suse 8.0 with kde3 and my sytem is very fast (PIII 850MHz with 320Mo of RAM and a swap about 260Mo ) at boot time but become very slow after a few hours. With procman i get a root task kdm X using about 77 Mo memory after booting, but about 300Mo after a few hours. What can i do about that? I know at my swap is not optimum but i was having much less RAM when i have installed the system and i have not yet the oportunity to reinstall it with a bigger swap. I think at the problem is the RAM usage, because the kdm X process is using it (about 300Mo on 320 after a few hours) . Is it possible to clean this RAM ? Even if i close all the programs except kdm and procman the memory usage of kdm X is not going down.
No, not necessarily. It really depends on the applications and usage of the machine. If you were running big databases, then having a lot of swap would likely be more important. If you are only using this as your desktop, I wouldn't worry about it. Some machines/OS like Sun/Solaris can save crash dump info, which it needs at least as much swap as there is physical ram in order to save the crash... but Linux does not do this. - Herman On Thu, 11 Jul 2002, Dominique Michel wrote: ->Thanks for the explanation. ->I will buy more memory. I think at the right number is so much as my ->mother card and my budget can accept. ->And for the swap, must i have a swap 2 times bigger as the RAM memory ->even if i have a lot of RAM? -> ->Dominique -> ->Herman Knief wrote: -> ->> It's called a "memory leak" and X is notorious for this. Basically, ->> there is not too much you can do. You could login on a console and ->> startx from there... upon loggin out the X server will be shutdown and ->> will free the memory. Other than that, the only thing I can recommend ->> is buying more memory. :-) ->> ->> - Herman ->> ->> Dominique Michel wrote: ->> ->>> Hello. ->>> I have Suse 8.0 with kde3 and my sytem is very fast (PIII 850MHz ->>> with 320Mo of RAM and a swap about 260Mo ) at boot time but become ->>> very slow after a few hours. ->>> With procman i get a root task kdm X using about 77 Mo memory after ->>> booting, but about 300Mo after a few hours. ->>> What can i do about that? I know at my swap is not optimum but i was ->>> having much less RAM when i have installed the system and i have not ->>> yet the oportunity to reinstall it with a bigger swap. ->>> I think at the problem is the RAM usage, because the kdm X process is ->>> using it (about 300Mo on 320 after a few hours) . ->>> Is it possible to clean this RAM ? ->>> Even if i close all the programs except kdm and procman the memory ->>> usage of kdm X is not going down. ->>> ->>> ->>> ->> ->> ->> -> -> -> -> ->
* Herman L. Knief
No, not necessarily. It really depends on the applications and usage of the machine. If you were running big databases, then having a lot of swap would likely be more important. If you are only using this as your desktop, I wouldn't worry about it. Some machines/OS like Sun/Solaris can save crash dump info, which it needs at least as much swap as there is physical ram in order to save the crash... but Linux does not do this.
Rule of thumb is 2cs as much swap as RAM. But before you go off and buy a lot of RAM , what video card are you using ? Which version of XFree ? I used to have the memory leak problem as well, but upgrading to XFRee 4.2 (and then to the 1.2XXX series of the nvidia driver) solved those issues. My home box is up for 10 days and still lists total used free shared buffers cached Mem: 255564 251620 3944 0 7112 79864 -/+ buffers/cache: 164644 90920 Swap: 530136 114856 415280 whereas I usually had to restart X once every week (or had X restart itself every week ;)_ ) due to memory leaks. The box at work is up for 7 days (had to change the cd burner) and sais: total used free shared buffers cached Mem: 1028204 1006692 21512 0 193316 405856 -/+ buffers/cache: 407520 620684 Swap: 3671464 246704 3424760 [but I've restarted the Xserver a couple of times on firday because I was fiddling around with the at libs in order to get Xft/AA working again on kde302/suse73. in the end I got the Qt rpms from the 8.0 kde302 and installed them over the 7.3 roms and now I have AA/XFT working again. Kind regards, -- Gerhard den Hollander Phone :+31-10.280.1515 Global IT Support manager Direct:+31-10.280.1539 Jason Geosystems BV Fax :+31-10.280.1511 (When calling please note: we are in GMT+1) gdenhollander@jasongeo.com POBox 1573 visit us at http://www.jasongeo.com 3000 BN Rotterdam JASON.......#1 in Reservoir Characterization The Netherlands This e-mail and any attachment is/are intended solely for the named addressee(s) and may contain information that is confidential and privileged. If you are not the intended recipient, we request that you do not disseminate, forward, distribute or copy this e-mail message. If you have received this e-mail message in error, please notify us immediately by telephone and destroy the original message.
http://sdb.suse.de/en/sdb/html/pohletz_x11_consuming_mem.html Cheers/2, --Maynard
participants (8)
-
Dominique Michel
-
Gerhard den Hollander
-
Herman Knief
-
Herman L. Knief
-
jalal
-
Maynard
-
Rodd Ahrenstorff
-
tabanna