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
Linux Linux Network Statistics Tools / Commands
Viewed 7583 times since Mon, Sep 21, 2020
How to manage Linux password expiry with the chage command
Viewed 10059 times since Tue, Sep 11, 2018
RHCS: Install a two-node basic cluster
Viewed 7933 times since Sun, Jun 3, 2018
How to Migrate from RHEL 8 to CentOS 8
Viewed 1243 times since Fri, May 15, 2020
ubuntu How to Reset Forgotten Passwords in Ubuntu 16.04
Viewed 929 times since Tue, Dec 8, 2020
Linux – delete the LUN and remove traces from OS
Viewed 1445 times since Tue, May 22, 2018
Top 20 OpenSSH Server Best Security Practices - good article
Viewed 8149 times since Mon, Oct 1, 2018
How to convert RAW image to VDI and otherwise
Viewed 12596 times since Wed, Oct 3, 2018
Easily Monitor CPU Utilization in Linux Terminal With Stress Terminal UI
Viewed 2197 times since Thu, Apr 18, 2019
ZPOOL: Verify/change properties of a zpool
Viewed 1122 times since Sun, Jun 3, 2018