LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 04-29-2006, 05:13 PM   #1
JerryMcFarts
Member
 
Registered: Mar 2004
Location: Ohio, USA
Distribution: Ubuntu 6.04
Posts: 117

Rep: Reputation: 15
Server Uses all Memory?


I am confused. I upgraded my ram because my server was using pretty much all of my 128MB of ram. So I currently have 512MB

I am just running website with MySQL+PHP+APACHE nothing too extensive.

I am confused though because when I run 'top' and add up the program percentages of useage, it comes around roughly 37% but top shows up at top that its like 97%.

just wondering what I can do.

I did copy my 'top' info in here, but it looked all messy. I can do it again if people ask for it.

Last edited by JerryMcFarts; 04-29-2006 at 05:15 PM.
 
Old 04-29-2006, 06:08 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Linux caches memore aggressively, which is probably what you're seeing. Don't worry, cached memory is released to applications if they need it. I suggest you use the free command and look at the second line (the numbers with buffers and cached subtraced). As a general rule, so long as your swap space is not filled too much (i.e. seldom used), you're OK.
 
Old 04-29-2006, 06:09 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,127

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Are you talking memory% or CPU% ???.
If its memory, you're probably worrying about nothing. Lets see the output from "free -m"
 
Old 04-30-2006, 05:09 AM   #4
JerryMcFarts
Member
 
Registered: Mar 2004
Location: Ohio, USA
Distribution: Ubuntu 6.04
Posts: 117

Original Poster
Rep: Reputation: 15
I am actually talking about memory. thanks guys for the quick response.

Quote:
$ free -m
total used free shared buffers cached
Mem: 503 498 5 0 109 97
-/+ buffers/cache: 291 212
Swap: 1474 0 1474
http://jerrymcfarts.homelinux.com/phpsysinfo/

Last edited by JerryMcFarts; 04-30-2006 at 05:10 AM.
 
Old 04-30-2006, 05:20 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,127

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Have a read of this. Should allay your concerns.

If it was me, I'd be much more concerned about the occupancy of that root of yours.
94% of 37 Gig - holy mackeral !!!!
 
Old 04-30-2006, 11:33 AM   #6
JerryMcFarts
Member
 
Registered: Mar 2004
Location: Ohio, USA
Distribution: Ubuntu 6.04
Posts: 117

Original Poster
Rep: Reputation: 15
lol, yea my server, i screwed myself up and i had to reload everything, so i backed up everything using tar, so i have some duplicate files i can delete. which i just need to have some time to get around to it.

thanks for the link.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Out Of Memory problems. My server is down. Memory logs attached. guarriman Linux - General 7 06-10-2008 07:46 AM
memory leak? Server loading slow. thachp Linux - Newbie 1 01-27-2006 06:38 PM
X server take too much memory (dropline problem) eduac Linux - Software 1 08-29-2005 09:17 AM
server over load cpu/memory usage chadi Linux - General 11 12-15-2004 03:31 PM
Help!?! RH 8 Memory Mapping -High Memory-Virtural Memory issues.. Merlin53 Linux - Hardware 2 06-18-2003 04:48 PM

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

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