11-02-2012
I hear that some file systems never run out of inodes.
Too much RAM set aside can make the VM side thrash noticably. Some systems do their metadata cache in swappable VM or mmap()'d file space so the less reused parts can be rolled out, dynamically. Can AIX be set for VM based caching? With most of the RAM in one pool, all the users can share it.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a file called products.kp which contains, for example,
12345678,1^M
87654321,2^M
13579123,3
when I run the command
cat products.kp| sed -f kp.sed
where kp.sed contains
s,^M,,
I get the output
12345678,1
87654321,2
13579123,3 (5 Replies)
Discussion started by: Kevin Pryke
5 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have a problem with a new touch screen controller that I am trying to use on a SCO 3.0 system. THe touch screen controller only wants to talk at 9600baud. I have updated /etc/inittab per the manual and also edited /usr/lib/event/devices to use 9600 baud.
The only way I can get the... (0 Replies)
Discussion started by: Elwood51
0 Replies
3. AIX
We have 2 Rs6000 S-85
Each initially had/have 6 processors and 8 GIG of RAM each
Node 1 we added 14 processors and 32 GIG of RAM On May 19. (11 days ago)
My memory utilization reporting for node 1 showed a spike in available memory 25-30GB for May 19 to 25 . I kind of expected this because I... (5 Replies)
Discussion started by: Skyybugg
5 Replies
4. Shell Programming and Scripting
I have searched far and wide for an explanation for some odd behavior for output redirection and haven't come up with anything.
A co-worker was working on old scripts which have run for years and embedded in their code were output redirects which worked for the script during execution and then... (5 Replies)
Discussion started by: cahook
5 Replies
5. Shell Programming and Scripting
Dear guys;
when deleting repeated lines using nawk as below ;
Why the below syntax works?
nawk ' !a++' infile > outfile
and when using the other below syntax the nawk doesn't work?
nawk ' { !a++ } ' infile > outfile
or
nawk '
{
!a++
} ' infile > outfile
BR (4 Replies)
Discussion started by: ahmad.diab
4 Replies
6. Programming
I have the following program:
int main(int argc, char** argv){
unsigned long int mean=0;
for(int i=1;i<10;i++){
mean+=poisson(12);
cout<<mean<<endl;
}
cout<<"Sum of poisson: "<< mean;
return 0;
}
when I run it, I get the... (4 Replies)
Discussion started by: santiagorf
4 Replies
7. Ubuntu
It is so till login screen. I mean that when I boot my computer, Ubuntu shows a splash screen with mouse instead of Ubuntu logo and in the login screen it shows XUbuntu login screen... It began when I upgraded to previous kernel, I suppose, but I'm not sure... I can't say that it annoys me very... (6 Replies)
Discussion started by: Sapfeer
6 Replies
8. AIX
I am trying to create an archive using tar. I am specifying a list of directories using the -L option. For testing purposes I created a simple directory structure:
/backup/test
/backup/test/test1
/backup/test/test2
The file specified by the -L option, named files.txt, contains:... (8 Replies)
Discussion started by: judykstra
8 Replies
9. Shell Programming and Scripting
Hello All,
I have a strange issue. I've created a shell script which connects to RMAN (Oracle Recovery Manager) and executes full DB backup. I then executed this script with nohup and in the background:
$ nohup my_script.sh > logfile.log 2>&1 &The issue is that when I tried to take a look into... (6 Replies)
Discussion started by: JackK
6 Replies
LEARN ABOUT DEBIAN
data::objectdriver::driver::cache::apache
Data::ObjectDriver::Driver::Cache::Apache(3pm) User Contributed Perl Documentation Data::ObjectDriver::Driver::Cache::Apache(3pm)
NAME
Data::ObjectDriver::Driver::Cache::Apache - object driver for caching objects in Apache's request space
SYNOPSIS
package MyObject;
use base qw( Data::ObjectDriver::BaseObject );
__PACKAGE__->install_properties({
...
driver => Data::ObjectDriver::Driver::Cache::Apache->new(
fallback => Data::ObjectDriver::Driver::Cache::Memcached->new(
cache => Cache::Memcached->new({ servers => @MEMCACHED_SERVERS }),
fallback => Data::ObjectDriver::Driver::DBI->new( @$DBI_INFO ),
),
),
...
});
1;
DESCRIPTION
Data::ObjectDriver::Driver::Cache::Apache provides automatic caching of retrieved objects in the per-request memory space of your Apache
mod_perl processes, when used in conjunction with your actual object driver. It can be used to provide even faster results over memcached
when requesting objects that have already been requested during the same request by some other part of your application, at the cost of the
memory necessary to store the objects.
If your models can be used in an Apache mod_perl application as well as another context such as a command line shell, consider replacing
the Apache layer of your caching with a "Data::ObjectDriver::Driver::Cache::RAM" layer when Apache is not available. See
Data::ObjectDriver::Driver::Cache::Apache.
USAGE
o Data::ObjectDriver::Driver::Cache::Apache->new(%params)
Required members of %params are:
o "fallback"
The "Data::ObjectDriver" object driver from which to request objects that are not found in the Apache process cache.
DIAGNOSTICS
The Apache driver provides integration with the "Data::ObjectDriver" debug and profiling systems. As these systems are designed around SQL
queries, synthetic queries are logged to represent caching operations. The operations generated by this driver are:
o "APACHECACHE_GET ?"
Retrieve an object. The argument is the cache key for the requested object.
o "APACHECACHE_ADD ?,?"
Add an object to the cache. The arguments are the cache key for the object and the flattened representation of the object to cache.
o "APACHECACHE_SET ?,?"
Put an object in the cache. The arguments are the cache key for the object and the flattened representation of the object to cache.
o "APACHECACHE_DELETE ?"
Remove an object from the cache. The argument is the cache key for the object to invalidate.
SEE ALSO
Apache, Apache2::RequestUtil
LICENSE
Data::ObjectDriver is free software; you may redistribute it and/or modify it under the same terms as Perl itself.
AUTHOR & COPYRIGHT
Except where otherwise noted, Data::ObjectDriver is Copyright 2005-2006 Six Apart, cpan@sixapart.com. All rights reserved.
perl v5.12.4 2011-08-29 Data::ObjectDriver::Driver::Cache::Apache(3pm)