2 long months of no technical blogging..I have seen and gone through many issues , but hardly remembered about this blog :-(
Situation:
Restarting httpd works for port 80, but fails for 443 (SSL port). I confirmed it with a telnet localhost 443, which returned me connection refused error. Apache error log along with informational messages, was returning me,
semget: No space left on device
Solution :
To understand that is all because of semaphores getting build up and not being cleared properly. So we need to forcefully remove them.
Stop httpd. and issue the following command,
ipcs | grep nobody | awk '{print $2}' > clear.txt
for i in `cat clear.txt`; do { ipcrm -s $i; }; done;
And finally restart httpd. Please note that in the above command I used nobody to grep in ipcs, but in your case it can be apache or www or even www-data. But you know the drill!!!
Sunday, April 29, 2007
semget: No space left on device
Posted by HJKL a.k.a h2l at 6:54 PM
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment