No space left on device: AH00023: Couldn’t create the ssl-cache mutex AH00016: Configuration Failed

Error: [core:emerg] [pid 10804:tid 140601303058368] (28)No space left on device: AH00023: Couldn’t create the ssl-cache mutex

ipcs | grep apache | awk '{print $2}' > sem.txt
for i in `cat sem.txt`; do { ipcrm -s $i; }; done;

You can try to avoid such issues:
vi /etc/sysctl.conf
kernel.sem = 250 256000 32 1024
sysctl -p

vi /root/bin/sem.sh
#!/bin/bash
for i in $(ipcs -s | grep apache | awk '{print $2}'); do ipcrm sem $i; done && service httpd restart

crontab -e
MAILTO=""
@daily /root/bin/sem.sh

Views All Time
Views All Time
658
Views Today
Views Today
1

Leave a Reply

Your email address will not be published. Required fields are marked *