04-23-2006
The free output I see looks just fine to me. I see 1456 used in cache not 4538.
Anyway - the kernel takes unused memory and uses it for cache. If there are processes on the box, it's usual to see most of the memory as "used". The kernel releases it as needed.
What bad symptoms are you seeing?
9 More Discussions You Might Find Interesting
1. AIX
Can anyone tell me why its a bad idea to have rootvg span multiple physical drives
i.e.
hdisk0 00014861356a3c77 rootvg
hdisk1 0001486111354c7c rootvg
hdisk2 00014861fcef6a5d rootvg
hdisk3 none None
thanks (1 Reply)
Discussion started by: csaunders
1 Replies
2. Linux
Hi All,
We are using the linux servers and need to track the memory utilization of the box. Could anyone advice how the same can be achived.
:) (1 Reply)
Discussion started by: haitorajesh
1 Replies
3. IP Networking
I need help, how to set traffic management on the ubuntu server with the real life situation.
For example, I would like to set the lowest priority or the "Best-Effort Traffic" for the ports in the range from 35000-37000 only on the TX(transmit) and I would like that same port range has... (1 Reply)
Discussion started by: loopdemack
1 Replies
4. AIX
Hello,
I need help with creating Managment Resource Role on HMC v7. I can assignee whole machine to new role but I can't do this with single LPAR. I can't even open list of LPARs, i can see only list of machines connected to this HMC. Do you know how I can solved this problem. I have to create... (3 Replies)
Discussion started by: plechu
3 Replies
5. Red Hat
Hello, I am using Linux os.
$ df -k /dev/shm
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 2023256 1065000 958256 53% /dev/shm
$
Based on my google this, it is shared memory. What is this shared memory and where exactly it is used? Can you... (5 Replies)
Discussion started by: govindts
5 Replies
6. Red Hat
Hi guys.
I have configured Vsftpd with virtual users using Berkley DB. it is running fine. But how can we implement disk quotas for virtual users? (1 Reply)
Discussion started by: majid.merkava
1 Replies
7. Solaris
Hi gurus,
Please advice me in case such a process is taking too much of memory what are the necessary steps we need to do. Please explain with detailed.
Thanks | P.Bharathiraja:confused: (3 Replies)
Discussion started by: bharathiraja
3 Replies
8. UNIX for Dummies Questions & Answers
Hello Folks
so i have a question,
we have about 1000 linux machines in our org and would like to be able to manage all of them,
what type of software would i use, any suggestions?
i heard of puppet,
what else do we have available? (1 Reply)
Discussion started by: hookitup
1 Replies
9. UNIX and Linux Applications
Hi Experts,
I have question regarding linux cluster managment on Red Hat 5.x server. When I try to install 'luci' or 'ricci' in one of our linux servers it is giving me below error:-
yum install luci
Loaded plugins: katello, product-id, rhnplugin, security, subscription-manager
Updating... (0 Replies)
Discussion started by: Amey Joshi
0 Replies
libcache(3) BSD Library Functions Manual libcache(3)
NAME
libcache -- the caching framework
SYNOPSIS
#include <cache.h>
DESCRIPTION
The libcache framework provides a facility for creating in memory data caches. Each cache is a mutable dictionary that associates values
with their keys. A cache limits the number of values it keeps according to available system memory and selects values to evict when the
limit is exceeded. Recently and frequently used values are less likely to be selected for eviction.
Cache keys and values should be cast as pointers. The framework provides a callback interface for supporting arbitrary types of keys and
values and implements callback functions for common types. See cache_callbacks(3) for more information.
Clients retrieve a value previously added to a cache using the value's key. When the client gets a value, the cache increments a reference
count on the value. When the client finishes with a value retrieved from a cache they must release the value back to the cache. Referenced
values are considered in use and will not be evicted. The cache may evict unreferenced values (e.g. to make room for other values or reduce
its size).
The number of values allowed in a cache at one time is managed by the cache framework. Cache size will grow when the system has available
memory and shrink under memory pressure.
Libcache is thread-safe. It is not safe to call back into the cache API from cache callback functions.
SEE ALSO
cache_create(3), cache_set_and_retain(3)
Darwin May 7, 2009 Darwin