Jump to content

[SOLVED] some site is crashing my server, but which one?


michaellunsford

Recommended Posts

okay, here's how I did it. I rebooted the server, and while it was happy and fresh, I turned off apache and scanned all the logs from today by hand.

 

I still wonder if there's a quick command to easily figure something like this out...

Link to comment
Share on other sites

Its certainly not easy to find out which site causes an issue.

 

Some things which can help:

have each site as a vhost. I.E.:

site1.server.com

site2.server.com

and have each vhost logging to seperate access logs.

 

Things I run and monitor:

webalizer for each vhost

I have mod_status enabled: http://www.debuntu.org/apache-activity-performance-mod_status

I have munin logging and creating graphs of apache. See: http://muninexchange.projects.linpro.no/?search&cid=1&pid=3&phid=123

 

Even still its quite difficult to track down what script may be affecting the performance of a server.

 

If anyone has any other tips and tricks to monitor or graph which scripts are using up a lot of resources, I would be very interested to hear.

 

-steve

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.