Help - Search - Members - Calendar
Full Version: Quick question: Do I need more ram (top shows only 50mg free)
The Planet Forums > System Administration > General Support Questions
Paul-OTE
Okay, stupid question, I know, but our server is running a tad slower nowadays and we're adding more sites onto it soon, and I'm wondering if we may need more RAM on das box.

We have a 2.4ghz, RHEL box with 1gig of RAM and loads of hard drive space free (130gb) and top shows that of our 102840k of RAM, 987264k is used, and 41216k is free.

Now, by my rough arithmatic, that's some 40-odd megs free out of a gig. I've watched it dip as low as 22mb, but it hovers aroung 50 usually.

We've only got a dozen sites on this box, and as we're using a bit of mysql and PHP, thttpd isn't much of an option.

So here's the question; does it sound like a server in this configuration should be running this heavy, and should I just throw another gig of RAM at it, or should I start digging for optimizations?

Cheers
Paul-OTE
Oh, guess this might help too: My swap partition is set to 2096472k with 8249k in use.

Hmm... it's hardly hitting the swap, so does that mean that an increase in RAM might be premature?
Jeff
What is the output of the command free at the command prompt?
eth00
The key is the swap with only 8mb in use. Chances are you are doing decent on RAM. More woudl help but generally as long as you are not swapping a lot you are not killing your servers performance. As jeff said paste the output of free. Most times you will see it is just linux has used a lot for caching which is more efficient then how windows operates.
zeppelin
Hi all,

Is there in the forum any thread talking about how should be done a kernel update with up2date? Or a guide you recommend?

If not, could anyone explain (briefly, don't waste time icon_wink.gif ) how to do this in a few steps?

An update has been recently released and I'm afraid of getting the server down...

Thanks!!


--------------------------------------------------------
Edit: I've just seen this http://www.eth0.us/rpm-kernel. Thanks eth00
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.