|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
mod_jk 1.2.28 connection pooling not workingHello,
I have a tomcat-5.5 / httpd.worker-2.2 / mod_jk-1.2.28. The problem is that connection_pool_size is set to 60 and httpd available threads per chilf is set to 60 and tomcat max threads set to 100 and min set to 60 and checking netsat tells that there are only 2 to 4 connections between httpd.worker and tomcat AJP port. All logs does'nt help in any sort even in debug loglevel. Please advise. Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: mod_jk 1.2.28 connection pooling not workingBrain Stormer wrote:
> Hello, > > I have a tomcat-5.5 / httpd.worker-2.2 / mod_jk-1.2.28. > > The problem is that connection_pool_size is set to 60 and httpd > available threads per chilf is set to 60 and tomcat max threads set to > 100 and min set to 60 and checking netsat tells that there are only 2 > to 4 connections between httpd.worker and tomcat AJP port. > It can be caused by many things, and the probable one is the configuration. And BTW, your stup won't work well. If the connection_pool_size is 60 you will have 60 * MaxClients/ThreadsPerChild connections to Tomcat, and given your 100 limit this will not work. The proper number is: connection_pool_size = maxThreads in Tomcat / (MaxClients / ThreadsPerChild) If you have in httpd.conf MaxClients 600 ThreadsPerChild 60 and maxThreads="100" for AJP Connector in server.xml this would give worker.xxx.connection_pool_size=10 (100/(600/60)) Regards -- ^(TM) --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: mod_jk 1.2.28 connection pooling not workingWell, I have the following parameters..
tomcat-maxThreads=512 httpd-MaxClients=600 http-ThreadsPerChild=60 httpd-connection_pool_size=60 And after adjusting all parameters still no pools created, only 2 to 4 threads have the ESTABLISHED connection state. Any idea! On Friday, July 3, 2009, Mladen Turk <mturk@...> wrote: > Brain Stormer wrote: > > Hello, > > I have a tomcat-5.5 / httpd.worker-2.2 / mod_jk-1.2.28. > > The problem is that connection_pool_size is set to 60 and httpd > available threads per chilf is set to 60 and tomcat max threads set to > 100 and min set to 60 and checking netsat tells that there are only 2 > to 4 connections between httpd.worker and tomcat AJP port. > > > > It can be caused by many things, and the probable one is the > configuration. > > And BTW, your stup won't work well. > If the connection_pool_size is 60 you will have > 60 * MaxClients/ThreadsPerChild connections to Tomcat, and > given your 100 limit this will not work. > > The proper number is: > connection_pool_size = maxThreads in Tomcat / (MaxClients / ThreadsPerChild) > > If you have in httpd.conf > MaxClients 600 > ThreadsPerChild 60 > > and > maxThreads="100" for AJP Connector in server.xml > > this would give > worker.xxx.connection_pool_size=10 (100/(600/60)) > > > Regards > -- > ^(TM) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: mod_jk 1.2.28 connection pooling not workingOn 03.07.2009 19:21, Brain Stormer wrote:
> Well, I have the following parameters.. > > tomcat-maxThreads=512 > httpd-MaxClients=600 > http-ThreadsPerChild=60 > httpd-connection_pool_size=60 > > And after adjusting all parameters still no pools created, only 2 to 4 > threads have the ESTABLISHED connection state. Why do you think there should be more connections? The connection pool size of mod_jk is the maximum. If no more than 2 to 4 are needed there will be no more connections. How do you test and why do you expect more connections? What is your exact configuration (workers.properties etc.)? Regards, Rainer --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
| Free embeddable forum powered by Nabble | Forum Help |