1

I am using ajp connector to connect to J BOSS nodes from Apache, ajp is configured to accept 400 concurrent connections by setting max Threads to 400, but few my connections are getting timeout. Where to configure timeout period for ajp connector, in Jboss? or in Apache's workers.properties file?

AJP Configuration is as follows:

Max threads: 400
Current thread count: 78
Current thread busy: 15
Max processing time: 301287 ms
Processing time: 108458.98 s
Request count: 509878
Error count: 12
Bytes received: 281.95 MB
Bytes sent: 1216.30 MB 

worker.properties:

worker.node1.port=8009
worker.node1.host=cedlab030as1
worker.node1.type=ajp13
worker.node1.lbfactor=1
worker.node1.prepost_timeout=200000
worker.node1.ping_mode=A
user1614862
  • 111
  • 1
  • 4
  • Please post both the AJP connector config from JBoss and proxy config from Apache. – zagrimsan Oct 01 '13 at 09:37
  • AJP Configuration is as follows: Max threads: 400 Current thread count: 78 Current thread busy: 15 Max processing time: 301287 ms Processing time: 108458.98 s Request count: 509878 Error count: 12 Bytes received: 281.95 MB Bytes sent: 1216.30 MB worker.propertes are as follows: worker.node1.port=8009 worker.node1.host=cedlab030as1 worker.node1.type=ajp13 worker.node1.lbfactor=1 worker.node1.prepost_timeout=200000 worker.node1.ping_mode=A #As of mod_jk 1.2.27 – user1614862 Oct 01 '13 at 19:11
  • What you posted about AJP is the status, not the config, which is in `server.xml` under the jbossweb component (not knowing the actual version of JBoss you're using can't tell the exact path) which should be similar to this: `` – zagrimsan Oct 03 '13 at 07:21
  • Please always edit the your question when adding relevant information to the topic so that others don't need to read through the comments. – zagrimsan Oct 03 '13 at 08:30
  • In addition to the above, could you also explain in further detail the usage of the application being server on JBoss and how did you find out about the timeouts, maybe from some logs (if so, please post relevant parts)? Are the timeouts reported in the client or in Apache? Is there anything in common in the situations when timeouts occur (during peak hours, during certain kind of requests)? – zagrimsan Oct 03 '13 at 08:36

0 Answers0