zabbix linux How to solve apache error No space left on device: Cannot create SSLMutex


When Apache does not start and shows the following result while prompting it to start, check the error_log file,

Starting httpd : [Failed]

The following error in error_log file may be causing the issue ( /var/log/httpd/error_log )

[error] (28)No space left on device: Cannot create SSLMutex


These errors mean that there are no available IPC (inter-process communication) resources in the system, such as semaphores or shared memory segments.

To check the allocated semaphores use the command ipcs -us


Option 1:

Run this command as root,

# ipcs | grep apache

If you see a list of semaphores, apache has not cleaned itself. Use the following command to clean it,

# ipcs -s | grep apache | awk ’ { print $2 } ’ | xargs -n 1 ipcrm -s

Option 2:

Increase the limits in /etc/sysctl.conf

kernel.msgmni = 1024
kernel.sem = 250 256000 32 1024

Load the new sysctl settings from  /etc/sysctl.conf

# sysctl -p
Updated on March 1, 2017
0 (0)
Article Rating (No Votes)
Rate this article
There are no attachments for this article.
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
HP-UX - Stunnel Configuration
Viewed 2193 times since Fri, Sep 28, 2018
linux manual tools
Viewed 2513 times since Fri, Sep 28, 2018
Linux - How to get network speed and statistic of ethernet adapter in Linux
Viewed 1875 times since Fri, Jun 8, 2018
Viewed 2208 times since Fri, Jul 27, 2018
How to automate SSH login with password? ssh autologin
Viewed 2431 times since Fri, Jun 8, 2018
How to enable Proxy Settings for Yum Command on RHEL / CentOS Servers
Viewed 11966 times since Thu, Jul 19, 2018
RHEL: Change system’s hostname
Viewed 3176 times since Sun, May 27, 2018
Cron YUM How to use yum-cron to automatically update RHEL/CentOS Linux
Viewed 2223 times since Fri, Oct 26, 2018
12 Linux Rsync Options in Linux Explained
Viewed 11714 times since Wed, Oct 31, 2018
Easily Monitor CPU Utilization in Linux Terminal With Stress Terminal UI
Viewed 3723 times since Thu, Apr 18, 2019