LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-23-2005, 09:10 PM   #1
Palamides
Member
 
Registered: Jan 2005
Posts: 104

Rep: Reputation: 15
RAM issues w/ Mandrake 10.1


Whenever I start up my laptop and log into Mandrake about 180 out of my 512 ram is being used with 79 processes running...
although after I use my laptop for a bit and after let it to go into stand by(sometimes with like 82-84 processes running), my used ram jumps up to 480 when i leave stand by mode although i still have the same processes running pretty much, anyone know how i could solve this since it slows down my CPU a lot.
thanks
 
Old 01-23-2005, 10:21 PM   #2
sgrayban
Member
 
Registered: Nov 2004
Location: Spokane, WA
Distribution: Debian 6.0
Posts: 369

Rep: Reputation: 30
Have you looked at each process to see if its a runaway?

Run 'top' also and see whats being used the most.
 
Old 01-23-2005, 10:48 PM   #3
Palamides
Member
 
Registered: Jan 2005
Posts: 104

Original Poster
Rep: Reputation: 15
i ran 'top' and X is at the top. followed by kdeinitt,superkaramba(running liquidweather and cynapses), init and net_applet, mdkapplet(goes from top to bottom at times)
it almost seems like the RAM doesnt get freed up once its been used by a program...

Last edited by Palamides; 01-23-2005 at 10:58 PM.
 
Old 01-24-2005, 01:13 AM   #4
sgrayban
Member
 
Registered: Nov 2004
Location: Spokane, WA
Distribution: Debian 6.0
Posts: 369

Rep: Reputation: 30
ram gets used first the swap -- if a program exits and then a new progra needs that memory linux releases it.
 
Old 01-24-2005, 01:25 AM   #5
bunnadik
Member
 
Registered: Jan 2005
Location: Övik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
I've noticed the same; used memory increases steadily. And tht's not including buffers or cache. I typically have 3 aterm, opera and XFce-4.2 running
and at boot it starts with ~70MB used then increasing to somewhere around 400 MB over a week or so.
Neither top ('M') or xrestop shows anything unusual.

I had MDK 10.0 installed for a month or so and didn't see this afaic remember.

- Peder
 
Old 01-24-2005, 03:29 AM   #6
Palamides
Member
 
Registered: Jan 2005
Posts: 104

Original Poster
Rep: Reputation: 15
yah thats exactly how it is for me, it just keeps on increasing steadily for no real reason, btw my swap seems to be never used, not sure if thats nromal
 
Old 01-24-2005, 08:50 AM   #7
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
Doesn't this topic come up a least once a week?

To summarize: This is normal behavior. Linux will (eventually) use almost all your available RAM for caching. When a prog needs RAM it'll be freed. Since disk I/O is typically the bottleneck on most PCs, this behavior improves overall performance.
 
Old 01-24-2005, 09:58 AM   #8
bunnadik
Member
 
Registered: Jan 2005
Location: Övik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
Quote:
Doesn't this topic come up a least once a week?
As I said: in my case it's not buffers and/or cache that's eating RAM, it's something else.

Once I've got the damned NVIDIA driver working with 2.6.10 (nevermind) [or I'll eventually give up] I'll see if
2.6.10 makes any difference.

- Peder
 
Old 01-24-2005, 01:56 PM   #9
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
Well, my reply was to Palamides, but since you chastized me, I'd say your problem is a leaky cron job that runs aprox once a week... like updatedb (which did exact same to me on 9.2)
 
Old 01-24-2005, 11:46 PM   #10
Palamides
Member
 
Registered: Jan 2005
Posts: 104

Original Poster
Rep: Reputation: 15
is it normal though that once it eats up all my ram, it takes forever to load anything, even just to open a folder?
 
Old 01-31-2005, 07:11 AM   #11
bunnadik
Member
 
Registered: Jan 2005
Location: Övik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
This morning I hit > 500MB used with only 8M cached (I've got 512MB installed). Top didn't show any anomalies, it looked
just like after a reboot when I've got like 200MB used and 80MB cache. Exiting X didn't release any memory so I had to reboot.

I'm starting to suspect xscreensaver. I'm running mirrorblob, GLEidescope and XAnalogTV and have them configured to
use images from a directory of mine. My guess is, since some but quite few seems to be affected by this, xscreensaver
leaks memory when handling images. I have disabled that now to see if things get better.

Anyone else with the same problem and similar setup?

- Peder

Last edited by bunnadik; 01-31-2005 at 07:12 AM.
 
  


Reply



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
FC4 ram upgrade issues ricklerre Linux - Hardware 2 10-01-2005 06:47 AM
Slackware Linux RAM/Memory Issues Darvocet Slackware 6 05-25-2005 03:16 PM
Fluxbox help and RAM issues AltUlster Linux - Newbie 7 05-14-2005 09:32 PM
Memory / Ram issues...please help.. elstupidos Slackware 2 01-16-2005 11:21 PM
RAM issues... elluva Linux - Hardware 5 05-24-2004 09:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration