tomcat6 - Should Tomcat 6 AJP keep its threads in keepalive state with mod_jk? -


i've switched tomcat server use ajp fronted apache. in manager i'm seeing:

stage   time    b sent  b recv  client  vhost   request k   15395557 ms ?   ?   67.195.114.27   ?   ? k   15859951 ms ?   ?   119.63.196.73   ?   ? etc. 

is sign of tomcat holding connection open far, far long?

i'm aware have form of leak because periodically app runs out of database connections , stops. i'm looking evidence behaviour above part of problem. i'll note front end javascript communication using rest in jquery.

thanks lot in advance.

crossposted serverfault because i'm not seeing there. :-(

the ajp protocol designed work long-running persistent connections. normal , expected. both apache , tomcat maintain connection/thread pools, , create new ones when necessary.

this in isn't compelling reason suspect ajp memory leak, although if started getting leak after moved ajp, misconfigured somewhere.


Comments