"HTTPD dead but PID exists", your disk space is either full or all IPCS semaphores have been used up.
ipcs -s | awk ' $3 == "apache" {print $2, $3}' | awk '{ print $1}' | while read i; do ipcrm sem $i; done
Clean up ipcs semaphores
"What can a one liner do for you?" - Frankly Speaking
ipcs -s | awk ' $3 == "apache" {print $2, $3}' | awk '{ print $1}' | while read i; do ipcrm sem $i; done
Clean up ipcs semaphores
function removeEmptyLines($string)
{
return preg_replace("/(^[\r\n]*|[\r\n]+)[\s\t]*[\r\n]+/", "\n", $string);
}