[x] Welcome to LinuxSolved.com Linux help forums, here we are a community of Linux users helping each other. It is helpful to both ie. new linux users as well experienced one. We always have our experts to help you and ofcourse members help each other, so you can ask for help any time by Registering.: Click to Register

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Linux Forums - Linux Help,Advice & support community:LinuxSolved.com  |  Forum  |  Others  |  Miscellaneous  |  Topic: linux ram management,cached buffered & actually free mem
The LinuxSolved.com GNU/Linux User Communit - Forum
Welcome to LinuxCommunity You have just arrived to a friendly linux community which is helping Linux Users from Years.. You can be its part if you have not already joined it. Registration is FREE and is gateway to unlimited help and support to all your linux related needs. If you are an GNU/Linux supporter then you have come to the right place.
Pages: [1]
  Print  
Author Topic: linux ram management,cached buffered & actually free mem  (Read 652 times)
0 Members and 1 Guest are viewing this topic.
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2215


View Profile
« on: January 04, 2007, 04:08:28 PM »

Somehow I never noticed this on that server.

Ok the thing is like this..

I have this remote linux server I manage from my place, its having 1GB RAM and its p4 2.6 ,120 GB SATA. Lately I directed my datacenter people to add another hdd in it and added 80GB hdd, today I was configuring it ie. partitioning , formatting and making it in use.
I noticed that top is showing that only ~240MB RAM is available, I checked and found that process runing on it hardly needs ~200MB RAM so it means around ~800MB should be available all the time, infact earlier to adding this hdd (which required reboot), it was always that around 700-800MB RAM was always free.
But now after this reboot and hdd addition only 250-350MB of RAM is free at any given time.

It just reminded that linux try to use all free RAM by doing disk cache in free RAM ie. actually RAM is free but frequently accessed data is mvoed to that free RAM showed as "cached" in TOP.

Ok thats fine now but what was earlier when it used to show ~800MB of RAM free most of the time ?
Any idea ?
Logged
gauravbajaj
LST CareTaker
Experienced
*****
Offline Offline

Posts: 597


View Profile
« Reply #1 on: January 07, 2007, 01:21:24 PM »

Is the new hardisk containing any data in it?May be number of processes are taking more RAM now? but not sure why................? :?

I have no idea why its showing like this way? I am seeing this problem first time.

Plz share it if u will get the answer...........of your question Cheesy


Any other Ideas Guys?

Gaurav
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2215


View Profile
« Reply #2 on: January 08, 2007, 05:16:08 AM »

Well, after posting this message I was still looking into many docs & those confirmed that LINUX try to use all free RAM to allocate frequently used data in RAM for faster access.
(BTW, that new disk was all new, even without any partitions)

Also, it was only evident on same day, and after late night and so on.. Its again showing eariler stats ie. around 800 MB RAM is free.

Once I was able to another situation where 400 mb RAM was free but server load ie . CPU usage etc. was around 1% only.

May be I need to know few more diagnosing tools or method.
Gaurave.. What you suggest ?
Logged
gauravbajaj
LST CareTaker
Experienced
*****
Offline Offline

Posts: 597


View Profile
« Reply #3 on: January 09, 2007, 10:46:27 AM »

Hmm .you have to search it ......................,  rlly its a different kind of problem........I will also search for it. and if wl update you if wl get any solution

Gaurav
Logged
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
   

 Logged
Pages: [1]
  Print  
 
Jump to:  

Welcome, Guest. Please login or register.
Did you miss your activation email?
December 01, 2008, 09:33:49 PM

Login with username, password and session length
Navigation
Recent Discussions
[November 29, 2008, 02:23:49 PM]

[November 29, 2008, 02:14:14 PM]

[November 29, 2008, 04:00:36 AM]

[November 28, 2008, 07:05:28 AM]

[November 28, 2008, 07:04:39 AM]

[November 28, 2008, 06:58:16 AM]

[November 28, 2008, 06:47:09 AM]

[November 26, 2008, 11:53:32 AM]

[November 26, 2008, 04:00:22 AM]

[November 25, 2008, 06:44:47 PM]
Members
Total Members: 6252
Latest: rash31
Stats
Total Posts: 8285
Total Topics: 2257
Online Today: 34
Online Ever: 111
(June 28, 2007, 06:47:29 AM)
Users Online
Users: 0
Guests: 11
Total: 11
Privacy Policy| Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Theme & TinyPortal v0.9.8 © Bloc