Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

I just recently rented a new server which is being used for hosting files and converting them. however for some reason the server keeps crashing every few hours, how can I find out the reason why my server is crashing? is there a log apart from apache's ?

I am currently running apache and nginx on the server (centos), php and perl are installed but there is no mysql.

share|improve this question

closed as not a real question by womble, EEAA, Ward, Wesley, Tim Brigham Apr 6 '12 at 13:08

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

This question isn't a good fit here; there isn't enough information to move towards an answer, and we'll just end up spending hours teasing the information out in endless comments. It will likely be more productive if you try Serverfault chat. – womble Apr 6 '12 at 1:18
I know its not much info but what would you generally check to see what caused the crash?? does centos have a log to check? – Ahoura Ghotbi Apr 6 '12 at 1:48
It has lots of logs to check. It's not just going to say "Your server crashed and here is how to fix it", though. – womble Apr 6 '12 at 1:53
i understand that but what are the logs to check is the question – Ahoura Ghotbi Apr 6 '12 at 2:26
And the answer is "all of them". – womble Apr 6 '12 at 2:28

Check the logs. The answer is there:

Linux Logs:

  • /var/log/message
  • /var/log/auth.log
  • /var/log/kern.log
  • /var/log/secure
share|improve this answer

The crashing is probably caused (rough guess given your limited information) by an incompatibility issue between nginx and apache. Try running just nginx with phpcgi and see if the problem persists. This would avoid high memory footprint.

share|improve this answer

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