I swear this has been a bad day for me and my server... apache problems now
I noticed that APF (advanced policy firewall) was taking YEARS (slight exageration) to start up. it was just very, very slowly opening each port it needed to when it used to just go through and do it in seconds. i was checking top and no resources were being widely used (cpu at around 90% idle, memory was fine, everything was fine. I let it sit there and work for a good 5 minutes and then it finally was good. I did a service apf restart just to check it and this time it only took about 5 seconds to shut itself down and come back up. However I did notice that when it was taking forever to start up it displayed an error that said:Error: Hostname host name lookup failure
I did some research on google and it said this is displayed when it is having a hard time finding out what the boxes hostname is. It said to put in /etc/hosts:
127.0.0.1 hosts server1.eggycrew.com
So thats what I did and did a "service network restart" hoping that this would solve the problem. I never saw anymore errors out of APF.
Now apache is doing the same thing! It is taking FOREVER to start up and sometimes just hangs and stops serving pages all together. It has been working just spiffy for the longest time. I have made no configuration changes or anything so it is just really ticking me off that my box is just breaking itself.
It is literally taking 5 minutes to shutdown and come back up when i do a "service httpd restart"
There are no errors in the apache logs at all.
Any ideas guys?
Thanks >:/