LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-12-2006, 02:39 PM   #1
czamora
Member
 
Registered: May 2006
Posts: 52

Rep: Reputation: 15
Linux, an Operating System with Memory Leaks?


Hi,

I've been using Linux for my online web server (run level 3) for several years, and I have noticed that the Operating System by itself consumes all the RAM memory of the server, no matter how much it has!

The moment I reboot the server the free memory is quite high, but it starts immediately to decrease little by little, even if no applications are running! The consecuence is that in a matter of hours or days, 99% of the 500Mb or 1Gb of RAM is used up!

I have tried to fix this by trying different distros, and by updating packages, but with no success. One of the servers had RedHat 9 with 1Gb, the other two had Centos (4.1 and 4.3) with 500Mb

So it seems to be a general issue with Linux, and I expect you all have noticed it (or can confirm it now by running 'free' from time to time after rebooting).

Is there any way to fix this?
I would appreciate very much any hints or help.
 
Old 09-12-2006, 03:03 PM   #2
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,004

Rep: Reputation: 69
cached RAM? i rather have some things cached in RAM than paged to swap or having to be read from the harddrive, (RAM is faster) if you hve lots of RAM it is better to use it than to be sitting unused...
 
Old 09-12-2006, 03:12 PM   #3
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
i'm always forgetting commands and syntaxes.



 
Old 09-12-2006, 03:34 PM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
You need to understand a bit more about Linux memory management. Take a look here for a good article on this issue.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Eliminate memory leaks with Rational PurifyPlus for Linux LXer Syndicated Linux News 0 08-10-2006 03:54 AM
OpenSource for memory leaks ? thelonius Programming 1 12-23-2005 02:30 PM
how to detect memory leaks abirami Linux - Networking 2 11-08-2004 06:35 AM
Memory Leaks? stampede96 Linux - Software 3 02-20-2003 01:52 PM
Memory Leaks and Processes in Linux... Sonny Programming 10 03-04-2002 06:54 PM

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

All times are GMT -5. The time now is 02:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration