| Author |
Apache/Jboss issue
|
vjy chin
Ranch Hand
Joined: Feb 17, 2005
Posts: 279
|
|
If this is not the appropriate forum, please move it to the right one.
We have an application. The architecture is as below
1 load balancer (apache), which redirects to 2 app servers (jboss). The site is working fine and I am able to access it fine. But sometimes, randomly the homepage takes a while (like 30-40 secs)
to load. I tried checking the logs but could not figure out why.
I used the httptraffic analyzer, fiddler to see the traffic, but it just says the request/response took 30 secs or so.
I checked the apache access logs, mod_jk.log.
My configurations are below
mod-jk.conf
-----------
-----------------------------
-------------------------------
uriworkermap.properties
------------------------
# Simple worker configuration file
#
# Mount the Servlet context to the ajp13 worker
/=loadbalancer
/*=loadbalancer
-----------------------------
-------------------------------
workers.properties
-----------------
-----------------------------
-------------------------------
my jboss server.xml - $JBOSS_HOME/server/default/deploy/jbossweb.sar/server.xml
-------------------
<Connector protocol="AJP/1.3" port="8009" address="${jboss.bind.address}"
redirectPort="8443" />
---------------------------------
---------------------------------
The logs from access log is below
The issue where it took time - look at the seconds column
The one after the issue
---------------------------------
Would it be a cache or timeout issue?
Any help is appreciated. Thanks.
|
 |
Koen Aerts
Ranch Hand
Joined: Feb 07, 2012
Posts: 344
|
|
|
In the past I've had weird HTTP related performance issues and with a similar setup (Apache http, mod_jk, JBoss AS). Downloading and compiling the latest version of mod_jk fixed that for me. Not sure if that would fix your particular issue, but it might be worth the try.
|
 |
vjy chin
Ranch Hand
Joined: Feb 17, 2005
Posts: 279
|
|
Thanks for the reply. I will check with the team to see if it is possible, but I dont think it would be. I am kind of stuck with the versions.
I also see this happen only when the server is not hit for sometime, so it kind of times out and re-establishes connections or atleast that is what I am thinking.
Any other suggestions. Thanks.
|
 |
 |
I agree. Here's the link: jrebel
|
|
subject: Apache/Jboss issue
|
|
|