did you check your datasource pool too? default is pretty low and under load you can just wait for the DB depending the app
Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> | JavaEE Factory <https://javaeefactory-rmannibucau.rhcloud.com> 2016-10-03 17:11 GMT+02:00 Jlemoine <[email protected]>: > Romain Manni-Bucau wrote > > 2016-10-03 15:43 GMT+02:00 Jlemoine < > > > jlemoine@ > > > >: > > > >> 1. I'm not sure what a "very small timeout" would be. I currently have > >> the > >> ajp connector and LB timeouts at 20 seconds. > >> > > > > 1ms? > > > >> 2. Yes, ajp does seem to keep threads open once created, which is where > >> I > >> think the problem was. No new sockets available to open. However, so > >> far > >> this has not happened on the TomEE side after I changed the LB method to > >> Busyness and made the other changes to the ajp connectors that I > >> mentioned > >> in the first post. > >> > >> > > this is weird, ajp perf boost comes normally from the binary protocol > > usage > > and connections staying open. Depends the setup for sure but if not used > > wonder if you have any interest to use ajp. > > > >> > >> -- > >> View this message in context: http://tomee-openejb.979440. > >> n4.nabble.com/HTTP-Errors-on-Load-Balanced-TomEE-Servers- > >> tp4680255p4680272.html > >> Sent from the TomEE Users mailing list archive at Nabble.com. > >> > > Yes Romain, from what I've researched what you're saying holds true. But I > had the ajp attributes at default and this bizarre behavior from the LB > Request method was totally overloading an instance. > <http://tomee-openejb.979440.n4.nabble.com/file/n4680275/Image4.png> > > > > > > > > > This isn't really load balancing for us and any end-users attached to that > "a" instance were locked up and unable to process data back to the > database. > I'm pretty sure I have this ironed out now but I won't know unless the > Business wants to try out my config changes in Production. Also, I'm still > researching if there are other tuning options that I may need to try. > > > > -- > View this message in context: http://tomee-openejb.979440. > n4.nabble.com/HTTP-Errors-on-Load-Balanced-TomEE-Servers- > tp4680255p4680275.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
