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: Website randomly slow |
|
Author |
|
Qmpeltaty
Joined: 06 Feb 2008 Posts: 182 Location: Poland
|
Posted: Sat 16 Jun '12 11:30 Post subject: Website randomly slow |
|
|
Hi
I have a Apache instance serving pages for static content and dynamic content - frontend for JBoss application server by mod_jk module. Site is very popular, so the average traffic is around 32Mbit/s. From time to time I observe traffic pick, up to 150Mbit/s - when traffic increase then site is very slow (also static content).
When site is slow :
1. I've checked /jkstatus and the busy workers is 20, max is 700.
2. I connect directly to JBoss ports - it works like a charm.
3. Processor usage for httpd.exe is less than 10 percent, so from the one hand is ok, but in the same time JBoss is using 2-3 percent. It's interesting in my opinion as JBoss is doing harder job than apache - calculate, quering database etc., when Apache is just forwarding requests to JBoss, waits for JBoss response and send it back to client.
4. During the traffic pick static content is also very slow.
5. I think it's not related with a performance limit of machine as it is 64gb ram , with 10, 8 cored xeon processors.
6. Yestarday i enabled debug log level for errors and Apache just crashed - was inresponsible.
How to find the bottleneck in Apache, as im dropped out from ideas and it driving me crazy ? |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
|
Back to top |
|
|
|
|
|
|