09-15-2011
Different OS Kernel Update Frequency
Hi guys
I'm trying to configure a collaboration suit (PHP, PostgreSQL, Apache) plus a mail server(Sendmail and Dovecot) on a single box. It will be used heavily 24*7. So having a long up time is really needed. I'm looking for 3 to 6 month up time. I want to know about kernel update frequency(because they are causing server reboot) for different operating systems such as Linux(CentOS, Debian, Ubuntu Server Edition), FreeBSD NetBSD, OpenBSD.
Could anyone help? I'm not trying to make a Linux vs BSD question as it is against forum rules.
7 More Discussions You Might Find Interesting
1. Linux
Hi All,
I need to update my redhatas4 kernel with kernel-2.6.9-67.0.20.EL.src.rpm.
When I run this
# rpm -ivh kernel-2.6.9-67.0.20.EL.src.rpm
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does... (2 Replies)
Discussion started by: itik
2 Replies
2. Solaris
Hi All,
I am installing kernel Update 3.0 in my Solaris servers.
It actually installs most of the patches in this update , but for some packages it is not installing.
It is saying ...
Version of package SUNWcakr from directory SUNWcakr.us in patch 137137-09 differs from the package... (7 Replies)
Discussion started by: jegaraman
7 Replies
3. Solaris
Hi I am installeing Solaris Kernel update in my solaris Server.
The Solaris Kernel update skipps the patch 120011-14.
saying that it had already been installed.
But it is not found in /var/sadm/patch directory where all the patches will be there.
And also i could not install other... (11 Replies)
Discussion started by: jegaraman
11 Replies
4. Red Hat
1. Where do i obtain new kernels in ".rpm" format to update my RHEL5?
is it only available to RHN subscribers?
2. i downloaded latest kernel (linux-2.6.31.5.tar.bz2) from kernel.org.
#tar -xjvf linux-2.6.31.5.tar.bz2
after this i have a directory with lots of stuff in there. how do... (2 Replies)
Discussion started by: dplinux
2 Replies
5. Solaris
tell me the step by step procedure for updating the kernel patches in solaris 10. (1 Reply)
Discussion started by: tv.praveenkumar
1 Replies
6. Red Hat
Dear all,
I have some linux servers in my prod environment. For two years i have not done any kernel updates or required patches ...should i have to this activity. My kernel version is 2.6.18-164.el5xen and linux release is release 5.4 (Tikanga).
And reboot also not done for 2 years is... (2 Replies)
Discussion started by: jegaraman
2 Replies
7. UNIX for Dummies Questions & Answers
Hi
i want know to how to check NTP update frequency for a server?
what should be its ideal value or range ?
also, i have configure one switch and on gui i can see NTP update frequency value is 1440. also no idea what should be its ideal value
i am not sure if this is correct or not .... (1 Reply)
Discussion started by: scriptor
1 Replies
LEARN ABOUT DEBIAN
apache::session::lock::semaphore
Apache::Session::Lock::Semaphore(3pm) User Contributed Perl Documentation Apache::Session::Lock::Semaphore(3pm)
NAME
Apache::Session::Lock::Semaphore - Provides mutual exclusion through semaphores
SYNOPSIS
use Apache::Session::Lock::Semaphore;
my $locker = new Apache::Session::Lock::Semaphore;
die "no semaphores" unless $locker;
$locker->acquire_read_lock($ref);
$locker->acquire_write_lock($ref);
$locker->release_read_lock($ref);
$locker->release_write_lock($ref);
$locker->release_all_locks($ref);
DESCRIPTION
Apache::Session::Lock::semaphore fulfills the locking interface of Apache::Session. Mutual exclusion is achieved through system semaphores
and the IPC::Semaphore module.
CONFIGURATION
The module must know how many semaphores to use, and what semaphore key to use. The number of semaphores has an impact on performance.
More semaphores means less lock contention. You should use the maximum number of semaphores that your platform will allow. On stock NetBSD,
OpenBSD, and Solaris systems, this is probably 16. On Linux 2.2, this is 32. This module tries to guess the number based on your operating
system, but it is safer to configure it yourself.
To set the number of semaphores, you need to pass an argument in the usual Apache::Session style. The name of the argument is NSems, and
the value is an integer power of 2. For example:
tie %s, 'Apache::Session::Blah', $id, {NSems => 16};
You may also need to configure the semaphore key that this package uses. By default, it uses key 31818. You can change this using the
argument SemaphoreKey:
tie %s, 'Apache::Session::Blah', $id, {NSems => 16, SemaphoreKey => 42};
PROBLEMS
There are a few problems that people frequently encounter when using this package.
If you get an invalid argument message, that usually means that the system is unhappy with the number of semaphores that you requested.
Try decreasing the number of semaphores. The semaphore blocks that this package creates are persistent until the system is rebooted, so if
you request 8 semaphores one time and 16 semaphores the next, it won't work. Use the system commands ipcs and ipcrm to inspect and remove
unwanted semphore blocks.
Cygwin
IPC on Cygwin requires running cygserver. Without it, program will exit with "Bad System call" message. It cannot be intercepted with eval.
Read /usr/share/doc/Cygwin/cygserver.README for more information.
Darwin/MacOS X
Darwin and MacOS X may not have semaphores, see <http://sysnet.ucsd.edu/~bellardo/darwin/sysvsem.html>
*BSD
Error "No space left on device" means that maximum number of semaphores is reached. See
<http://www.postgresql.org/docs/7.3/static/kernel-resources.html> for more information.
AUTHOR
This module was written by Jeffrey William Baker <jwbaker@acm.org>.
SEE ALSO
Apache::Session
perl v5.10.1 2010-10-18 Apache::Session::Lock::Semaphore(3pm)