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
LVM: Remove an existing Volume Group
Viewed 4534 times since Sat, Jun 2, 2018
What is OS Watcher Utility and How to use it for Database Troubleshooting ?
Viewed 27218 times since Thu, Jun 21, 2018
Find All Large Files On A Linux System
Viewed 1501 times since Mon, Oct 29, 2018
RHEL: Reinstalling Boot Loader on the Master Boot Record (MBR)
Viewed 2634 times since Sun, May 27, 2018
Linux Customizing Bash
Viewed 1009 times since Sun, Dec 6, 2020
Fedora 32: Simple Local File-Sharing with Samba CIFS Linux
Viewed 8013 times since Sun, Dec 6, 2020
How to convert RAW image to VDI and otherwise
Viewed 13824 times since Wed, Oct 3, 2018
stunnel Securing telnet connections with stunnel
Viewed 885 times since Sun, Dec 6, 2020
10 Linux rsync Examples to Exclude Files/Directories
Viewed 10176 times since Wed, Oct 31, 2018
SSH: Execute Remote Command or Script – Linux
Viewed 1756 times since Mon, Feb 18, 2019