Apache crash during high load with Parallels Pro Control Panel

Apache crash on high load with the following error in the error log: “No space left on device:” The problem may be caused by small number of semaphores in system. To increase the number of semaphores please take the following steps:

Login to your PPCPL server as root. Open the /etc/sysctl.conf file using a text editor

vi /etc/sysctl.conf

Locate the kernel.sem parameter and double current values. If the parameter is not defined in the /etc/sysctl.conf file you can obtain current values by executing the following command:

cat /proc/sys/kernel/sem

After obtaining current values, double them and add to the /etc/sysctl.conf file so that the line looks like

kernel.sem = 512 32000 100 512

Please note, values for your installation may varry. Execute sysctl in order the changes to take effect.

sysctl –p

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.