WebHostGear.com - the hosting resource for professionalshosting tutorials 
hosting howto webhost guide server managementMarch 20, 2006
server management, apache tutorials, hosting tutorials, cpanel, server security



Web Hosting Blog, Hosting Blog and updates in the hosting world.

Hosting Blog

Server Issues Today

There were some problems with Apache early this morning (1am) that I
didn’t catch until about 6am today. If you tried to access the site
then, you couldn’t =) The semaphore were full, I’ve never run into this
problem before. Every time I tried to start Apache it would error out
disk was out of space.

warn pid file /usr/local/apache/logs/httpd.pid overwritten — Unclean
shutdown of previous Apache run?
semget: No space left on device

I checked the space and log file sizes, all were fine. Thankfully I
managed to find a nice script on cpanel forums that helped me get things
back to normal once again.

#!/bin/bash

ipcs -s | grep nobody | perl -e ‘while () {
@a=split(/\s+/); print `ipcrm sem $a[1]`}’

/scripts/restartsrv httpd

Cheers

Steve

4 Responses to “Server Issues Today”

  1. Diana Says:

    So, are you the same Steve that used to work in the insurance industry? in a past life?

  2. Steve Says:

    No sorry

  3. Monica M. Says:

    Web Space Hosting…

    Thanks for short yet informative article. It covers most of things I wanted to know on this topic…

  4. Free Forum Hosting Says:

    Dave…

    Interesting topic… I’m working in this industry myself and I don’t agree about this in 100%, but I added your page to my bookmarks and hope to see more interesting articles in the future…

Leave a Reply