LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-22-2002, 03:34 PM   #1
tarballedtux
Member
 
Registered: Aug 2001
Location: Off the coast of Madadascar
Posts: 498

Rep: Reputation: 30
Question Linux is eating my RAM!!


I just recently put a 256 Meg stick into my Linux box and was quite satisifed to see no swap space being utilized. A few days later I looked and about 300/320 MB was used, up from 150/320MB. Does anyone have an idea about what is happening? I didn't start using any new programs. Just the same ones from when I botted up. Tripwire seems to go off alot where is the script that calls it?

--Tarballedtux

Last edited by tarballedtux; 05-22-2002 at 03:36 PM.
 
Old 05-22-2002, 03:49 PM   #2
Linuxidiot
Member
 
Registered: Feb 2002
Location: Dallas, Tx
Distribution: RedHat 8.0
Posts: 70

Rep: Reputation: 15
Heh your lucky I recently decided to try Mandrake I ran a couple of extra services sshd and httpd...and it now shows I have 124 services running and using 324 / 512 Meg of RAM except when I ran most of the same services as far as I can tell it only showed me running bout 50 services and only using 90 megs of RAM.....sooo... back to either Redhat 7.2, 7.3 or I am going to try Slackware just to see something else other than RedHat

Last edited by Linuxidiot; 05-22-2002 at 03:51 PM.
 
Old 05-22-2002, 04:14 PM   #3
Brion
Member
 
Registered: May 2002
Location: Belgium
Distribution: LinuxFromScratch
Posts: 85

Rep: Reputation: 15
linux is gonna use as much RAM as possible to cache stuff. it seems as if ur running out of memory, but ur not. the cached memory will make applications that have been loaded before start up faster and stuff like that but if u really need extra memory it will get rid of some of the cache and use whatever it just cleared. it'll never get rid of the entire cache though.
 
Old 05-22-2002, 05:28 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
Just think of it as actually putting all that RAM to use.. what would be the point of having so much if its not being used.
 
Old 05-23-2002, 09:07 AM   #5
Stephanie_new
Member
 
Registered: May 2002
Location: Hell, A.K.A. Arizona
Distribution: MD 8x / WIN2K / QNX
Posts: 156

Rep: Reputation: 30
I have 1GB of RAM isntalled on my system, and 512MB of swap space, and it will still use some swap, and register using over 512MB of RAM with only a few because of what Tricky said.

Its called speed and efficiency... something maybe M$ should learn about.
 
Old 05-23-2002, 10:38 AM   #6
Linuxidiot
Member
 
Registered: Feb 2002
Location: Dallas, Tx
Distribution: RedHat 8.0
Posts: 70

Rep: Reputation: 15
hmm maybe i should check my swap cuz i was running slow like i wouldnt believe...i re-installed redhat 7.2 and now i am only running at 60 megs of RAM with GAIM and xchat going
 
Old 05-23-2002, 12:04 PM   #7
Muddy
Member
 
Registered: May 2002
Location: Ohio
Distribution: Mandrake 9.2 Custom Kernel & Mythtv!
Posts: 256

Rep: Reputation: 30
Yup I went from 256MB to 756MB and it's still maxed out when I run top, but the performance did speed up a bit.
 
Old 05-23-2002, 12:28 PM   #8
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
Code:
david@cyberman:~/> free -m                                              [18:29]
             total       used       free     shared    buffers     cached
Mem:           501        496          4          0         22        341
-/+ buffers/cache:        132        368
Swap:          956          1        955
Yup, its perfectly normal for Linux to cache files in RAM and nothing to worry about.
 
Old 05-23-2002, 01:27 PM   #9
Calum
Member
 
Registered: Mar 2002
Location: London
Distribution: Red Hat 9
Posts: 302

Rep: Reputation: 30
microsoft have made paranoids out of all of us. why is it that if all the RAM is being used, we immediately think that something is wrong? maybe because microsoft gives us nightmares about our RAM running out no matter how much of it we have (my WinME fills up 87-95% of the RAM just booting).
As trickykid says, why install the RAM if you don't want it used? to give it a nice little holiday?
as i say, it is a real shame that we all dive into panic mode when our RAM gets (gasp!!!) *used*... All microsoft's fault.

 
Old 05-23-2002, 01:40 PM   #10
Linuxidiot
Member
 
Registered: Feb 2002
Location: Dallas, Tx
Distribution: RedHat 8.0
Posts: 70

Rep: Reputation: 15
well i consider it not micro$oft's fault nor anybody's only time i see windows use that much memory is when i am burning a cd..or ripping a dvd...even running Seti@Home or UD Cancer Agent I never use more than 170 megs of Memory....I do have a problem with only having at most the 50 services checkmarked to start mandrake and when i boot it runs really slow shows me using most of my resources and then showing me using 124+ services and using 300+ megs of memory even sitting idle...though I have no clue how I was using over 100 services 0_o nor why it was using that much resources. Although in Redhat i top off at something close to 56 services and usually top out in 90 meg of RAM. So my opinion rather unhappy with mandrake. Don't think of this as a troll but you can not really say that someone getting paniced by system resources is micro$ofts fault.

Last edited by Linuxidiot; 05-23-2002 at 01:42 PM.
 
Old 05-23-2002, 02:45 PM   #11
JimKyle
Member
 
Registered: Dec 2001
Location: Oklahoma City, OK, USA
Distribution: Xubuntu 16.04 LTS
Posts: 214
Blog Entries: 1

Rep: Reputation: 39
If you only checked some 50 services when you installed Mandrake, and now more than 124 are running, I'd suspect that your system has been invaded and you may be running zombie code for one or more script kiddies! Your mention that tripwire keeps firing lends substance to that belief, too. Turning it off would be akin to taking the seat belts out of your car to silence the alarm...

You can use the Mandrake Control Center's "Services" section to disable any service that you don't want to have running, and you can stop any of them without having to reboot. I have only a dozen or so running here, including all my security stuff, Samba's two services, PostFix, and ProFTP. This greatly reduces my exposure to the baddies, but then I'm somewhat paranoid, having gotten invaded (via a Win95 system) during my first day of setting up Linux and having to reformat the drives on two of my five boxes!
 
Old 05-24-2002, 05:16 AM   #12
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
Quote:
Originally posted by Linuxidiot
Don't think of this as a troll but you can not really say that someone getting paniced by system resources is micro$ofts fault.
I think was indicating that when windoze uses all RAM available too it, it bottlenecks processes and then things begin to crash. Or in 9x/ME you cannot do anything if RAM runs out and windows does not release it.

I had that problem on my ME install after playing UT even though I have a gig of ram on that machine - I solved this by disabling Virtual Memory altogether.
 
  


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Win98SE Pentium166MMX/64MB RAM vs Linux AthlonXP+ 3000/512MB RAM : Lucent LT WinModem t3gah Linux - Software 2 04-22-2005 01:01 PM
Server Eating up RAM?? Louie55 Linux - General 2 01-22-2005 05:20 PM
Fedora eating up RAM and CPU sokar Linux - General 2 01-25-2004 02:47 PM
Pan eating up my ram Andromea Linux - Software 3 11-12-2003 03:14 PM
Gnome eating ram and GDM configuration DarkXtar Slackware 4 04-17-2003 05:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:22 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