cache::sizeawaresharedmemorycache(3pm) [debian man page]
Cache::SizeAwareSharedMemoryCache(3pm) User Contributed Perl Documentation Cache::SizeAwareSharedMemoryCache(3pm)NAME
Cache::SizeAwareSharedMemoryCache -- extends Cache::SizeAwareMemoryCache
DESCRIPTION
The SizeAwareSharedMemoryCache class adds the ability to dynamically limit the size (in bytes) of a shared memory based cache. This class
also implements the SizeAwareCache interface, providing the 'max_size' option and the 'limit_size( $size )' method.
SYNOPSIS
use Cache::SizeAwareSharedMemoryCache;
my $cache =
new Cache::SizeAwareSharedMemoryCache( { 'namespace' => 'MyNamespace',
'default_expires_in' => 600,
'max_size' => 10000 } );
METHODS
See Cache::Cache and Cache::SizeAwareCache for the API documentation.
OPTIONS
See Cache::Cache and Cache::SizeAwareCache for the standard options.
PROPERTIES
See Cache::Cache and Cache::SizeAwareCache for the default properties.
SEE ALSO
Cache::Cache, Cache::SizeAwareCache, Cache::SharedMemoryCache
AUTHOR
Original author: DeWitt Clinton <dewitt@unto.net>
Last author: $Author: dclinton $
Copyright (C) 2001-2003 DeWitt Clinton
perl v5.12.4 2009-03-01 Cache::SizeAwareSharedMemoryCache(3pm)
Check Out this Related Man Page
Cache::FileCache(3pm) User Contributed Perl Documentation Cache::FileCache(3pm)NAME
Cache::FileCache -- implements the Cache interface.
DESCRIPTION
The FileCache class implements the Cache interface. This cache stores data in the filesystem so that it can be shared between processes.
SYNOPSIS
use Cache::FileCache;
my $cache = new Cache::FileCache( { 'namespace' => 'MyNamespace',
'default_expires_in' => 600 } );
See Cache::Cache for the usage synopsis.
METHODS
See Cache::Cache for the API documentation.
Clear( [$cache_root] )
See Cache::Cache, with the optional $cache_root parameter.
Purge( [$cache_root] )
See Cache::Cache, with the optional $cache_root parameter.
Size( [$cache_root] )
See Cache::Cache, with the optional $cache_root parameter.
OPTIONS
See Cache::Cache for standard options. Additionally, options are set by passing in a reference to a hash containing any of the following
keys:
cache_root
The location in the filesystem that will hold the root of the cache. Defaults to the 'FileCache' under the OS default temp directory (
often '/tmp' on UNIXes ) unless explicitly set.
cache_depth
The number of subdirectories deep to cache object item. This should be large enough that no cache directory has more than a few
hundred objects. Defaults to 3 unless explicitly set.
directory_umask
The directories in the cache on the filesystem should be globally writable to allow for multiple users. While this is a potential
security concern, the actual cache entries are written with the user's umask, thus reducing the risk of cache poisoning. If you desire
it to only be user writable, set the 'directory_umask' option to '077' or similar. Defaults to '000' unless explicitly set.
PROPERTIES
See Cache::Cache for default properties.
(get|set)_cache_root
See the definition above for the option cache_root
(get|set)_cache_depth
See the definition above for the option cache_depth
(get|set)_directory_umask
See the definition above for the option directory_umask
SEE ALSO
Cache::Cache
AUTHOR
Original author: DeWitt Clinton <dewitt@unto.net>
Last author: $Author: dclinton $
Copyright (C) 2001-2003 DeWitt Clinton
perl v5.12.4 2009-03-01 Cache::FileCache(3pm)
Does anyone know how the unix buffer / cache is set in a Solaris based system ?
( I presume it is a kernel based setting )
I notice from SAR -d that my read cache is consistently at 100% but my write cache frequently falls below 65%. What does this mean. Should I be tuning the write cache and... (1 Reply)
Dear all,
We are testing two of our servers for mq series connectivity. The scenario is, when one machine is shutting down it's services there are some scripts that do a dns update, which removes the ip address and relates it to the ip address of the other node on our dns server, and the update... (7 Replies)
Hi Chaps and Chappettes,
I've had a short period of time recently to learn and implement DNS cache-only in our organisation. Trouble is, according to my tcpdumps, the amount of traffic on port 53 has increased. This is of course the exact opposit of the desired effect. Would y'all mind looking... (2 Replies)
Hi all
I saw in Microsoft web site www.SysInternals.com a tool called CoreInfo from able to print out on screen the size of the Data and Instruction caches of your processor, the Locigal to Physical Processor mapping, the number of the CPU sockets. etc..
Do you know if in Linux is available a... (2 Replies)
I've just installed cygwin to run some well known Cache Simulators in a UNIX enviroment.
I have installed cygwin according to the install instructions.
Every time i try to run a make file from any of these simulators, I get the same exact error:
And the makefiles do not work.
Is there any... (3 Replies)
Hi,
I am getting the following errors (thousands of these every min)..OS is solaris9...have no idea whats the cause and how to stop it..I am pasting only a few samples...any answers greatly appreciated
corrupted cache (binding): 0xec7e
corrupted cache (binding): 0x636f6d00
corrupted cache... (1 Reply)
Hi folks.
I work with several production servers, and I have seen in some Kernel Cache using most of the memory.
See this pic:
http://i51.tinypic.com/301nb6c.jpg
Do you think this is a smart choice? Remember these are productions servers and it is extremely necesary this does not... (6 Replies)
Right now i am using Red Hat Enterprise Linux AS release 4 and cache memory occupying around 1.5GB mentioned below,
total used free shared buffers cached
Mem: 2026 2021 5 0 161 1477
-/+ buffers/cache: 382 1644 ... (4 Replies)
Hi everyone, my name is chinx. I am new to Linux and new to this forum.
I am trying to install Red Hat 9.0 on my MSi Laptop. But when I try to boot the CD, after selecting either GUI or CLI type of installation, I get this:
PCI: 00.03.3 PCI cache line size set incorrectly (32 bytes) ... ... (1 Reply)
Hello together,
i have a strange memory behavior on a AIX 7.1 System, which i cannot explain.
The Filesystem-Cache will not be grow up and drops often after few minutes. I know if a file was deleted, that the same segment in the FS-Cache will also be cleared. But i am not sure if this is the... (8 Replies)