Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 5th April 2006, 22:56
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,034
Thanks: 265
Thanked 151 Times in 131 Posts
Default Free RAM up and down and up and ...?

Is it normal for Linux (in my case Fedora RC4 used as only webserver) that the free / used RAM keeps going down, up, down, up ect ect?

Have a look at this image:

Note that I have added 2GB more of RAM on Saterday.

Right now the free RAM is down to about 128MB!
Reply With Quote
Sponsored Links
  #2  
Old 5th April 2006, 23:17
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Maybe your load is changing constantly. You should check your cron jobs, logs, etc.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 6th April 2006, 00:14
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,034
Thanks: 265
Thanked 151 Times in 131 Posts
Default

Quote:
Originally Posted by falko
Maybe your load is changing constantly. You should check your cron jobs, logs, etc.
So I guess this should not be like this?

The server does get about 30.000 visitors a day.

I'll have a look again at all the log files, but they are (for me) still not really understandable (lot's of info in it).

Any special thing I should look for?
Reply With Quote
  #4  
Old 6th April 2006, 01:03
sbovisjb1 sbovisjb1 is offline
Senior Member
 
Join Date: Feb 2006
Posts: 176
Thanks: 0
Thanked 1 Time in 1 Post
Default

Perhaps you have a memory leak?
These are some definitions
# where the program is left running, and consumes more and more memory over time (especially in embedded devices which may be left running for many years);
# where the program is able to request memory (e.g. shared memory) that is not released, even when the program terminates;
# where the leak is happening inside the operating system

You should check you're background processes with KwikDisk or someother utility to see what memory is actually been using when programs are running.
Good analytical programs are (these are for C, but the Kernel has a LOT of C files and scripts)
Purify: http://www-306.ibm.com/software/awdtools/purify/
Valgrind: http://valgrind.org/ and the howto is found here: http://www.faqs.org/docs/Linux-HOWTO...ind-HOWTO.html

Insure++: http://www.parasoft.com/Insure
memwatch: http://www.linkdata.se/sourcecode.html

I hope that helps you some
Reply With Quote
  #5  
Old 6th April 2006, 09:19
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,034
Thanks: 265
Thanked 151 Times in 131 Posts
Default

Hi sbovisjb1,

Thank you for the info.. Lot's of stuff to read and try :-/

I'm off testing some things now.
Reply With Quote
  #6  
Old 6th April 2006, 23:16
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,034
Thanks: 265
Thanked 151 Times in 131 Posts
Default

Just to make sure I'm doing the correct things here..

Should the free RAM be low (server is using a lot) or high (server is NOT using a lot)?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump


All times are GMT +2. The time now is 04:09.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.