Results 1 to 7 of 7
Thread: Cached Memory
-
08-24-2007, 09:06 PM #1WHT Addict
- Join Date
- Jul 2007
- Posts
- 100
Cached Memory
I have a dedicated server with 1gb ram, now I see 468.02 MB used for Cached memory, this is the first time. Why could this be? I have not changed any settings except for turning off safe mode for an account.
-
08-24-2007, 11:17 PM #2Web Hosting Master
- Join Date
- Oct 2004
- Location
- Kerala, India
- Posts
- 4,771
Type free -m to see the memory usage. Also run the top command and press "Shift + M" to sort the result by memory usage. See which process is taking more memory.
David | www.cliffsupport.com
Affordable Server Management Solutions sales AT cliffsupport DOT com
CliffWebManager | Access WHM from iPhone and Android
-
08-24-2007, 11:31 PM #3WHT Addict
- Join Date
- Jul 2007
- Posts
- 100
Ok, when I type the top command, the top one is httpsd then mysqld... ( I am running a forum)
When I type free -m, I get the same memory usage stats that I get in Plesk.
total used free shared buffers cached
Mem: 995 850 144 0 65 518
-/+ buffers/cache: 266 728
Swap: 1983 0 1983
-
08-24-2007, 11:50 PM #4Web Hosting Master
- Join Date
- Oct 2004
- Location
- Kerala, India
- Posts
- 4,771
cache memory is used more means the memory usage is more frequent on the server. Buffer size increases when there are more frequent access to similar sources. CPU access the buffer to increase the speed of the operation. When current the buffer pages are less frequently accessed, the cache is cleared for other pages.
David | www.cliffsupport.com
Affordable Server Management Solutions sales AT cliffsupport DOT com
CliffWebManager | Access WHM from iPhone and Android
-
08-24-2007, 11:55 PM #5WHT Addict
- Join Date
- Jul 2007
- Posts
- 100
Ok, so I don't have to worry about the memory issue? Because on the peak times, my site will need the memory. So will the cache clear automatically and that memory will be free?
-
08-25-2007, 12:13 AM #6Web Hosting Master
- Join Date
- Oct 2004
- Location
- Kerala, India
- Posts
- 4,771
As long as the sites are loading fine and you are not seeing any memory related errors in log files no need to worry.
David | www.cliffsupport.com
Affordable Server Management Solutions sales AT cliffsupport DOT com
CliffWebManager | Access WHM from iPhone and Android
-
08-25-2007, 02:54 AM #7WHT Addict
- Join Date
- Aug 2007
- Location
- Minneapolis
- Posts
- 111
This is the first time I saw that your RAM being used is a problem. I you have something like phpsysinfo (example) it breaks down your physical memory into three groups; Kernel + applications, buffers, and cached. The only one worth looking at is Kernel + applications as that is the "actual" RAM usage. The rest of the usage is only there for performance reasons.