Sponsored Content
Full Discussion: %memused is high
Operating Systems Linux Red Hat %memused is high Post 302992353 by jlliagre on Friday 24th of February 2017 05:37:44 AM
Old 02-24-2017
Quote:
Originally Posted by MadeInGermany
I hear this over and over again, from the Linux community. Always use 100%, a usage under 100% is wasted RAM, blabla.
This question is asked in the Red Hat forum so there is no doubt the OP is running Linux. The Linux kernel is designed to use all otherwise free RAM as cache with no penalties.

Note that under Unix and Linux, you can't really use 100%, the OS try hard to make sure minfree is left (min_free_kbytes on Linux), although minfree/min_free_kbytes are normally very small compared to the RAM size.

HP-UX might still has an problem freeing buffer cache memory but that's a design issue that should have been fixed if not already. Another System V implementation, Solaris, did it 17 years ago. On Solaris, the cache memory is reported as free memory and is freed almost instantly. See Understanding Memory Allocation and File System Caching in OpenSolaris (Richard McDougall's Weblog)

On the other hand, RAM allocated in kernel buffers, regardless of the OS, is much more difficult to be retrieved for applications so tuning can be useful here, for example when ZFS is used.

Back to the OP issue, he is running on a virtualized environment and has no access to the hypervisor statistics. The hypervisor might well lie about actual resources available to the kernel so anything is possible.
These 2 Users Gave Thanks to jlliagre For This Post:
 

7 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Sun: High kernel usage & very high load averages

Hi, I am seeing very high kernel usage and very high load averages on my system (Although we are not loading much data to our database). Here is the output of top...does anyone know what i should be looking at? Thanks, Lorraine last pid: 13144; load averages: 22.32, 19.81, 16.78 ... (4 Replies)
Discussion started by: lorrainenineill
4 Replies

2. Shell Programming and Scripting

Please Help me with this ..High Priority!

Hi, I am a nw bie to Schell Scripting, i have a same king of requirement as posted above. my input file is also a log file as below..... 28.05.2008 07:02:56,105 INFO Validation request recieved 28.05.2008 07:03:57,856 INFO 0:01:13.998 Response sent with: <?xml version="1.0"... (0 Replies)
Discussion started by: balaji_gopal
0 Replies

3. Solaris

pswch/s too high

Hello Unix gurus, I have a Solaris 8 system on which since last few days we are noticing 0% idle state. When I checked with sar utility, I saw that process switching is very high. The output of sar -w is pasted below: sar -w 3 20 SunOS bdspb306 5.8 Generic_108528-18 sun4u 06/24/08 ... (0 Replies)
Discussion started by: akashgulati
0 Replies

4. Red Hat

apache high cpu load on high traffic

i have a Intel Quad Core Xeon X3440 (4 x 2.53GHz, 8MB Cache, Hyper Threaded) with 16gig and 1tb harddrive with a 1gb port and my apache is causing my cpu to go up to 100% on all four cores heres my http.config <IfModule prefork.c> StartServers 10 MinSpareServers 10 MaxSpareServers 15... (4 Replies)
Discussion started by: awww
4 Replies

5. Shell Programming and Scripting

what would a script include to find CPU's %system time high and user time high?

Hi , I am trying to :wall: my head while scripting ..I am really new to this stuff , never did it before :( . how to find cpu's system high time and user time high in a script?? thanks , help would be appreciated ! :) (9 Replies)
Discussion started by: sushwey
9 Replies

6. Red Hat

CPU is high

Hi , We found CPU is high due to python process .Is this something that Oracle team should look on or Unix team has to work on it ?Could you please advise use of python process ? top - 12:03:03 up 43 days, 15:11, 5 users, load average: 1.53, 1.33, 1.23 Tasks: 126 total, 3 running, 123... (12 Replies)
Discussion started by: Maddy123
12 Replies

7. Solaris

High availability

hi guys I posted problem last time I didn't find answer to my issue. my problem is as below: I have two servers which work as an actif/standby in high availability system. but when i use command HASTAT -a i have the following message: couldn' find actif node. the servers are sun... (1 Reply)
Discussion started by: zineb06
1 Replies
vzcalc(8)							    Containers								 vzcalc(8)

NAME
vzcalc - calculate resource usage of a container SYNOPSIS
vzcalc [-v] CTID DESCRIPTION
This utility displays the share of the host system resources a particular container is using. If the container is running, the current usage is displayed. High utilization values (>100%) mean the system is overloaded (or the container has an invalid configuration). Current Shows the amount of the resources consumed by the container at a given time. Promised Shows the resources soft limit values "promised" for a given container. Max Shows the resources hard limit values "promised" for a given container. If the -v option is specified, the following additional information is also displayed: Low Mem The part of memory residing at lower addresses and directly accessed by the kernel (only makes sense for 32-bit architectures). Total RAM Total memory. Mem+Swap Amount of memory available for applications (both RAM and swap space). Alloc Mem Standard memory allocations made for applications in a container. This is a more "virtual" system resource than RAM or RAM and swap. Num. Proc Number of processes. OPTIONS
-v Display additional information. EXIT STATUS
Normally, the exit status is 0. On error, the exit status is 1. LICENSE
Copyright (C) 2000-2009, Parallels, Inc. Licensed under GNU GPL. OpenVZ 10 Dec 2009 vzcalc(8)
All times are GMT -4. The time now is 12:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy