Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Am pretty new to server administration. So I am not able to get to the root of the problem.

I am running Apache2 with mod_php on a 1GB Rackspace Cloud Server (Ubuntu 9.10). My site goes down often, and I have to restart apache2 to get the site working.

I checked the "error.log" file. There were no signs of any error messages. I even searched for words like [error] / error / warn / [warn] . But no results.

The site goes down and even then apache is running. When the site was down, the checked the status /etc/init.d/apache2 status and it gave ** * Apache is running (pid 433). **

Any suggestions where I should look for the problem.

Thanks a lot.

share|improve this question
Have you found your solution? To date I having the same issue. – neobie Aug 6 '14 at 2:11

change your LogLevel to debug

share|improve this answer

my experience is that virtual servers often run out of memory. so you could reduce the amount of workers in your apache configuration.

also look into /var/log/syslog for OOM (out of memory manager) messages.

share|improve this answer
Nothing useful found in syslog the workers config was: <IfModule mpm_worker_module> StartServers 2 MinSpareThreads 25 MaxSpareThreads 75 ThreadLimit 64 ThreadsPerChild 25 MaxClients 150 MaxRequestsPerChild 0 </IfModule> Changed to <IfModule mpm_worker_module> StartServers 2 MinSpareThreads 15 MaxSpareThreads 45 ThreadLimit 32 ThreadsPerChild 15 MaxClients 70 MaxRequestsPerChild 0 </IfModule> Please correct if I have overdone anything. Thank you – Shyam Jul 15 '10 at 13:55
no, looks fine... – frisbee23 Jul 27 '10 at 12:01

try /var/log/messages and search for httpd related ones.

share|improve this answer
in that file, i just have 4 lines regarding 'rsyslogd' Something like - "rsyslogd was HUPed, type 'lightweight'." – Shyam Jul 15 '10 at 13:53

When the system goes down, what happens if you try and connect from the server itself? (i.e., use wget, curl, elinks, etc., to get the website from the same server's external address. If that doesn't work, try the loopback.) If either works, the problem is in your network - quite possibly a firewall.

Also check netstat -l to make sure that apache is still bound to port 80.

share|improve this answer

Have you tried issuing strace -p 433 to see what Apache is doing? (where 443 is the actual PID of the Apache process, I'm assuming your PID has changed.)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.