LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 03-05-2012, 09:39 PM   #1
iamdanhenry
LQ Newbie
 
Registered: Mar 2012
Posts: 7

Rep: Reputation: Disabled
VPS Memory Usage High. Why? Debian 5, mail server and web server.


First off, New sysadmin here. I have been using Linux for the desktop for years, but on a server it seems there is a lot I don't know, so if it is simple, please take it easy on me.

I have a VPS running Debian 5 with a mail server (postfix, devecot, clamav, amavis) and a web server (LAMP). Pretty basic stuff, but my VPS frontend is reading 900+MB of memory in use (as is # free). My question is; With a server idling at almost 1GB ram, and a 2GB ram limit, is this going to be a huge issue? My website isn't getting really any traffic right now, but how much traffic is going to push me over my limit?
 
Old 03-06-2012, 02:05 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Clamav and amavis are large RAM users.

But are you sure you're reading it right? You didn't post the output of "free" here. Read http://www.linuxatemyram.com/
 
Old 03-06-2012, 05:13 PM   #3
iamdanhenry
LQ Newbie
 
Registered: Mar 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Code:
# free
             total       used       free     shared    buffers     cached
Mem:       6291456    1087296    5204160          0          0          0
-/+ buffers/cache:    1087296    5204160
Swap:            0          0          0
I understand the way that Linux handles RAM, however my limit on my VPS 2GB and I have a 6GB Burst. Meaning my VPS sees itself as having 6GB total available RAM, so Linux wont pass off RAM to other applications, it will just keep on cranking up into the "burst" RAM, essentially costing me money.
 
Old 03-08-2012, 06:36 PM   #4
Zetec
Member
 
Registered: Jul 2006
Distribution: Debian, Ubuntu, W7, openSUSE, Centos
Posts: 152

Rep: Reputation: 25
You're good at the moment with 1GB of ram usage and 5GB free.

I'm never a fan of burst memory on VPS systems. In particular in quantities like you have. Unless the host box has a lot of memory it could only take a few VPS nodes to request another 10GB+ of burst RAM and start killing the box.
 
Old 03-08-2012, 06:42 PM   #5
iamdanhenry
LQ Newbie
 
Registered: Mar 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Well, the thing is, I don't have 5GB free. I have 1GB free, and 4GB burst. That's my problem, I don't want to push into that 4. I just uninstalled the clamav and got it down to:
Code:
free
             total       used       free     shared    buffers     cached
Mem:       6291456     427792    5863664          0          0          0
-/+ buffers/cache:     427792    5863664
Swap:            0          0          0
 
Old 03-08-2012, 07:38 PM   #6
Zetec
Member
 
Registered: Jul 2006
Distribution: Debian, Ubuntu, W7, openSUSE, Centos
Posts: 152

Rep: Reputation: 25
You would have still bennett ok Imo. Either way if you didn't clamav it doesn't hurt to remove it.
 
  


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
Mail/ftp/web servers, on VIRTUAL!! dedicated server. Also resource usage. Centos 5. anon232 Linux - Software 4 07-08-2010 02:55 PM
Memory usage increasing Debian Lenny Apache2 server johnsan Linux - Newbie 4 05-11-2010 06:50 AM
High load, high RAM usage and unresponsive VPS saeed22 Linux - Server 1 08-20-2009 11:58 AM
web server CPU usage goes very high g_avadhut Linux - Newbie 2 12-10-2008 03:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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