01-20-2013
Cache is a very good thing. It improves the performance of the OS. Do not reboot your server to clear cache.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Dear all,
My server has shutdown frequently.
It is AMD64, OS is RHEL 4 U5.
I've seen the system log, before the shutdown occured:
Jul 29 04:28:56 localhost kernel: EDAC k8 MC0: general bus error: participating processor(local node response), time-out(no timeout) memory transaction... (2 Replies)
Discussion started by: mr_bold
2 Replies
2. Solaris
Hello All
I just want to know how to Shut Down the Solaris Machines( Servers ) for Maintainance and then Start Up the Machines ( Servers ) .
I think I will have to Log In as root to do that .
Also how do i Check if all the services running on that server before shut down are running... (6 Replies)
Discussion started by: supercops
6 Replies
3. Red Hat
hi ,
i installed RHEL 5 server in one machine . i am able to login through putty . But not through Exceed . i mean to say i want a graphical user interface through exceed . some other machine i am able to log in through exceed .
is there any configuration is there for that one . did i miss... (3 Replies)
Discussion started by: rateeshkumar
3 Replies
4. Red Hat
I installed RHEL 6.1 with KDE 4.3.4 using LDAP on a PC and have now the problem to specifiy a user/Profile specific start menu.
I have used already the kmenuedit tool and tailored for one user a specific menu, successfully.
I changed as an example the konsole submenu.
The kmenuedit was... (0 Replies)
Discussion started by: Gromit
0 Replies
5. Red Hat
I'm attempting to build a RHEL 6.3 yum errata server inside our company firewall with no luck. Is this something Red Hat attempts to prevent people from doing?
I have done all the steps that I've been able to find to create a repository and configure it.
My two repo files look like the... (2 Replies)
Discussion started by: redwing471
2 Replies
6. Red Hat
Hi Friends,
My Server is con't stated..it shows the below error..
Red hat exterprise Linux As Release 4(nahat)
kernel 2.6.9-5.ELsmp on an i686
INIT : id "x" respawing too fast :disabled for 5 minutes...
Please help help
Thanks,
Srinivas (1 Reply)
Discussion started by: srinivas814
1 Replies
7. Red Hat
Dear All,
I have a RHEL 5 server of 64 bit . I have disabled the firewalls and added the name server also in resolv.conf.
I want to connect to internet inorder to link the machine with Linux Network.
# I could not connect to any website from this server for ex
ping google.com is not... (8 Replies)
Discussion started by: jegaraman
8 Replies
8. Red Hat
Hi All,
I am new to linux and i am configuring DNS server but while i restart service it shows below given error. Please help to solve this error.
# /etc/init.d/named restart
Stopping named:
Generating /etc/rndc.key:
... (2 Replies)
Discussion started by: Chintanghanti
2 Replies
9. Red Hat
Dear All ,
One of our Oracle Database Server , which got hanged a couple of days before , so that we could not login to the Server , but it was pinging.
So we tried various options and at last we did a reboot of this server.
To find out the root cause of the Server Hang , when i checked the... (2 Replies)
Discussion started by: jegaraman
2 Replies
10. UNIX and Linux Applications
Good afternoon
I need your help please.
There is a Mantenance Windos which needs to Restart de Database Server 192.x.x.97 to set up some configuration
Is it mandatory or not to stop/start Applcation server that runs in 192.x.x.95 ?
Is it mandatory or not to stop/start apache and Tomcat?... (3 Replies)
Discussion started by: alexcol
3 Replies
LEARN ABOUT DEBIAN
cache::basecache
Cache::BaseCache(3pm) User Contributed Perl Documentation Cache::BaseCache(3pm)
NAME
Cache::BaseCache -- abstract cache base class
DESCRIPTION
BaseCache provides functionality common to all instances of a cache. It differes from the CacheUtils package insofar as it is designed to
be used as superclass for cache implementations.
SYNOPSIS
Cache::BaseCache is to be used as a superclass for cache implementations. The most effective way to use BaseCache is to use the protected
_set_backend method, which will be used to retrieve the persistance mechanism. The subclass can then inherit the BaseCache's implentation
of get, set, etc. However, due to the difficulty inheriting static methods in Perl, the subclass will likely need to explicitly implement
Clear, Purge, and Size. Also, a factory pattern should be used to invoke the _complete_initialization routine after the object is
constructed.
package Cache::MyCache;
use vars qw( @ISA );
use Cache::BaseCache;
use Cache::MyBackend;
@ISA = qw( Cache::BaseCache );
sub new
{
my ( $self ) = _new( @_ );
$self->_complete_initialization( );
return $self;
}
sub _new
{
my ( $proto, $p_options_hash_ref ) = @_;
my $class = ref( $proto ) || $proto;
my $self = $class->SUPER::_new( $p_options_hash_ref );
$self->_set_backend( new Cache::MyBackend( ) );
return $self;
}
sub Clear
{
foreach my $namespace ( _Namespaces( ) )
{
_Get_Backend( )->delete_namespace( $namespace );
}
}
sub Purge
{
foreach my $namespace ( _Namespaces( ) )
{
_Get_Cache( $namespace )->purge( );
}
}
sub Size
{
my $size = 0;
foreach my $namespace ( _Namespaces( ) )
{
$size += _Get_Cache( $namespace )->size( );
}
return $size;
}
SEE ALSO
Cache::Cache, Cache::FileCache, Cache::MemoryCache
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::BaseCache(3pm)