LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 06-02-2009, 11:12 PM   #1
Brandon.Wamboldt
Member
 
Registered: Apr 2009
Posts: 30

Rep: Reputation: 15
High mem usage, nothing in process list


What should my memory usage be for a server with 20 or 30 low bandwidth sites, email, ftp, and ssh?

I either am using 250mb or 750mb of 1gb. It 1gb to little? I was thinking of upgrading to 4gb and a dual core (So I can host a private 8 slot cs:s server as well). I am not sure how to read this, so here is a screenie of htop.

It my memory usage where it should be?

How can I auto kill processes using up to much of my cpu or memory?

http://northernlightstech.com/server.png
 
Old 06-02-2009, 11:22 PM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,246

Rep: Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025
Show us the output of 'top'
Linux automatically uses all the RAM it can find, otherwise its (RAM) a wasted asset.
Even a low usage system will eventually use all the RAM as Linux caches everything it can.
Unless you are deep into your swap partition, I wouldn't worry.
 
Old 06-02-2009, 11:35 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,127

Rep: Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986
"F1" in htop will explain the colour coding in the memory usage field. The displayed value is adjusted actual usage (not counting buffer and cache usage as mentioned by chrism01).

You can kill tasks from within htop as well - whether you should is an altogether different question.
 
Old 06-03-2009, 05:46 AM   #4
Brandon.Wamboldt
Member
 
Registered: Apr 2009
Posts: 30

Original Poster
Rep: Reputation: 15
So do you think the hardware I have is good enough for what I do (1gb ram, celeron 2.4), or should I upgrade?
 
Old 06-03-2009, 06:06 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,127

Rep: Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986
How long is a piece of string ?.
A snapshot like that is meaningless - track your usage over time and base upgrades on that. sar from the sysstat package is good for historical recording.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
processes/CPU Usage/Mem Usage desktop wallpaper ceantuco Linux - Newbie 2 04-13-2009 01:14 PM
Check process mem usage? Zeno McDohl Linux - Newbie 8 03-17-2008 04:53 PM
c++ - how to find memory footprint of a GL display list (or mem usage on a GPU)? BrianK Programming 3 03-17-2008 01:14 PM
Load Avg High/Phys Mem High teamh Debian 2 12-26-2006 05:03 PM
High Mem Usage miketheninja Linux - General 2 11-05-2003 04:26 PM


All times are GMT -5. The time now is 06:14 PM.

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