Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Localizing problems with Apache |
|
Author |
|
mglowacki
Joined: 30 Aug 2012 Posts: 1
|
Posted: Thu 30 Aug '12 13:51 Post subject: Localizing problems with Apache |
|
|
I wonder what tools are available for Apache Monitoring. I am using this server with busy site for more than year. When it comes to real big traffic (relatively), it's begin to be so slow... It's fronting Tomcat, so I can confirm it's not Tomcat is the reason (site on tomcat port directly works like a breeze). I have even deployed second Apache for static content, but it didn't help a lot.
The only tool I know is jkstatus - but there I cannot see any problem - request number is 10-30 which isn't really big number when I set conf like this:
ThreadLimit 15000
ThreadsPerChild 3000
MaxRequest value sometimes shows like 400-800, but it's only a peak.
Apache logs also don't tell much, no errors, no hints.
How can I get any clue what is going on? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Thu 30 Aug '12 18:18 Post subject: |
|
|
it helps to monitor the status page e.g. http://httpd.apache.org/server-status
Also monitor the system it self ( CPU,RAM,I/O (disc usage,swap). For that tools like cacti or nagios or htop can help a lot.
is the networking fast enough? Connection from apache to tomcat gigabit, if not on localhost. Connection to the internet good enough?
Once I had an issue with a server, cause the network switch had only 100 Mbit = 12,5 MB/s that is often not enough when many users access the server. |
|
Back to top |
|
|
|
|
|
|