I have never monitored any Redhat systems before, all Solaris in the past for the most part. Since top and free always show all the physical memory in use on Redhat, how do people monitor memory usage accurately with Xymon? Currently the Memory tag shows as yellow under this new Redhat server, though in my mind it should be green.
Mem: 16435916k total, 16311612k used, 124304k free, 6255112k buffers Swap: 18481144k total, 0k used, 18481144k free, 6391000k cached
total used free shared buffers cached
Mem: 16435916 16311588 124328 0 6255116 6391040 -/+ buffers/cache: 3665432 12770484 Swap: 18481144 0 18481144
Thanks in advance
Wes Neal
I have a script that frees up those buffers that make memory look full sync echo 3 >/proc/sys/vm/drop_caches free -mt
-----Original Message----- From: Neal, Jonathan W [mailto:wes.neal at verizon.com] Sent: Thursday, March 19, 2015 10:15 AM To: Xymon MailingList Subject: Redhat Memory Question
I have never monitored any Redhat systems before, all Solaris in the past for the most part. Since top and free always show all the physical memory in use on Redhat, how do people monitor memory usage accurately with Xymon? Currently the Memory tag shows as yellow under this new Redhat server, though in my mind it should be green.
Mem: 16435916k total, 16311612k used, 124304k free, 6255112k buffers Swap: 18481144k total, 0k used, 18481144k free, 6391000k cached
total used free shared buffers cached
Mem: 16435916 16311588 124328 0 6255116 6391040 -/+ buffers/cache: 3665432 12770484 Swap: 18481144 0 18481144
Thanks in advance
Wes Neal This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
On Thu, Mar 19, 2015, at 19:35, Root, Paul T wrote:
I have a script that frees up those buffers that make memory look full sync echo 3 >/proc/sys/vm/drop_caches free -mt
Why would you do that? It is strongly recommended to not do that:
Use of this file can cause performance problems. Since it discards cached objects, it may cost a significant amount of I/O and CPU to recreate the dropped objects, especially if they were under heavy use. Because of this, use outside of a testing or debugging environment is not recommended.
Page cache is not memory that is unavailable to other applications. If a program requests more memory and there is not enough free, it will take the page cache.
participants (3)
-
feld@feld.me
-
Paul.Root@CenturyLink.com
-
wes.neal@verizon.com