Reaching out to others! Free & Open Source Software, Kannada, L10n, L18n Data Science, Cloud Computing & more…

semget: No space left on device

Platonic | 0 comments

Unable to restart apache successfully.

Frist, check error logs: tail -f /usr/local/apache/log/error_log

If you find something like :

[Fri Oct 10 00:11:01 2008] [warn] pid file /usr/local/apache/logs/httpd.pid overwritten — Unclean shutdown of previous Apache run?
semget: No space left on device

It means, There is no more space left in Semaphore Arrays for Apache.

Read more about Semaphores here.

To quickly get rid of this issue, look at the semaphore arrays on your server using the following command.

ipcs -s

If you see too many of them, run the script which I have added here :

for i in `ipcs -s | awk '{print $2}'`; do ipcrm -s $i;done

And restart Apache. All will be good to go. Happy Browsing.

Related Articles

Related

Serendipity eBook & Print edition

Serendipity eBook & Print edition

ಡಾ. ಕಿರ‌ಣ್ ಸೂರ್ಯ ಅವರು ಬರೆದಿರುವ ಸೆರೆಂಡಿಪಿಟಿ - ವೈದ್ಯಲೋಕದ ಅದ್ಭುತ ಆಕಸ್ಮಿಕಗಳು ಇ-ಪುಸ್ತಕ ಈಗಾಗಲೇ ಸಾವಿರಾರು ಜನರನ್ನು ಫೇಸ್‌ಬುಕ್, ಟ್ವಿಟರ್, ಇಂಟರ್ನೆಟ್ ಆರ್ಕೈವ್ ಮೂಲಕ ತಲುಪಿದೆ. ಇದರ ಮುದ್ರಿತ ಪ್ರತಿ ಪಡೆಯುವ ಇಚ್ಚೆ ವ್ಯಕ್ತಪಡಿಸಿರುವ ಓದುಗರಿಗೆ, ಕನ್ನಡದ ವಿಜ್ಞಾನ ಸಾಹಿತ್ಯದ ಒಂದು ಪ್ರಯೋಗವಾಗಿ ಹಲವಾರು...

read more