Ramblings from MostlyChris

Tech stuff and a bit more

Browsing Posts published in November, 2009

I had occassion to run across the following question recently: "Plesk was just upgraded to version 9.2.x and all domains now have an overuse policy set to not allow overuse. I can manually change this to allow overuse, but is there a way to do this through the database so I don't have to do [...]

If you run into semaphore issues…. First, determine the number of semaphores in use. ipcs | wc -l Then determine the current settings in the kernel for the number of semaphores. cat /proc/sys/kernel/sem Look at the 4th field. It shows the maximum number of shared memory segments for the entire system. If your number of [...]

Installing APC

No comments

Follow these steps to install APC on a RHEL 5 server. 1. Install php-devel for phpize (if not installed). yum install php-devel 2. Install the apache devel pkgs for apxs (if needed). yum install httpd-devel 3. Make /tmp executable. mount -o remount,exec /tmp 4. Set the memory limit in /usr/share/pear/pearcmd.php to 16M. vi /usr/share/pear/pearcmd.php @ini_set('memory_limit', [...]