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
logrotate Log Rotate Configuration
Viewed 2391 times since Sun, Jan 12, 2020
RHEL: Crash kernel dumps configuration and analysis on RHEL 7
Viewed 6100 times since Sat, Jun 2, 2018
Linux - How to get CPU information
Viewed 1130 times since Fri, Jun 8, 2018
RHEL: Reserved space on a ext2/ext3/ext4 filesystem
Viewed 3383 times since Sun, May 27, 2018
Fix rpmdb: Thread died in Berkeley DB library
Viewed 19809 times since Fri, Feb 14, 2020
Do you Know These 5 Use of V$session View ?
Viewed 52146 times since Thu, Jun 21, 2018
How to recover error - Audit error: dispatch err (pipe full) event lost
Viewed 16635 times since Tue, Aug 6, 2019
RHEL: Extending a vmdk (Virtual Machine disk)
Viewed 3173 times since Sun, May 27, 2018
stunnel bacula
Viewed 1263 times since Fri, Sep 28, 2018
RHEL: Checking HBAs
Viewed 12590 times since Sun, May 27, 2018