http://qa.mandrakesoft.com/show_bug.cgi?id=5631

           Product: initscripts
         Component: program
           Summary: enterprise hardware tuning (/etc/sysctl.conf)
           Product: initscripts
           Version: 7.06-26mdk
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: major
          Priority: P2
         Component: program
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Hi. 
 
The default values for kernel.shmmax, kernel.shmall, kernel.shmmni and 
kernel.sem doesn't seem enough for apache2 (and for php "make test" for that 
matter) and friends. Could we please set some decent values in the 
/etc/sysctl.conf file to solve future issues, hopefully also for 9.2 if it's 
not too late? 
 
I know very little about hardcore kernel tweaking, but found some info on the 
net: 
 
http://www.redhat.com/docs/manuals/database/RHDB-2.1-Manual/admin_user/kernel-resources.html
 
http://technet.oracle.com/sample_code/tutorials/idclinux/OracleonRedHat8.html 
 
 
For my tests I had to raise the values for kernel.sem in order to get apache2 
to start with the new apache2-mod_python installed. Here's my current 
settings: 
 
Use half of RAM: 
 
# expr `cat /proc/meminfo | grep "Mem:" | awk '{print $2}'` / 2 
 
# sysctl -w kernel.shmall="130973696" 
# sysctl -w kernel.shmmax="130973696" 
# sysctl -w kernel.shmmni="4096" 
# sysctl -w kernel.sem="512 32000 32 512" 
 
# rpm -qa|grep apache2 
apache2-common-2.0.47-5mdk 
apache2-mod_ssl-2.0.47-5mdk 
apache2-mod_python-2.0.47_3.1.0a-1mdk 
apache2-2.0.47-5mdk 
apache2-mod_php-2.0.47_4.3.3-1mdk 
apache2-mod_deflate-2.0.47-5mdk 
apache2-devel-2.0.47-5mdk 
apache2-modules-2.0.47-5mdk 
 
 
There is a thread about this (kernel.sem) on the mod_python mailinglist here: 
 
http://www.modpython.org/pipermail/mod_python/2003-September/003647.html

-- 
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to