AccessLogValve %D and acceptCount tuning

2011-07-21 Thread Dan Checkoway
http://tomcat.apache.org/tomcat-7.0-doc/config/valve.html *%D* - Time taken to process the request, in millis What does %D in the actually represent? Let's say the stack trace looks like: at org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java:403) at

Re: AccessLogValve %D and acceptCount tuning

2011-07-21 Thread Dan Checkoway
Also forgot to ask...is there an MBean attribute that I can check via JMX to see how many established connections are waiting to be serviced? i.e. if there's a backlog in the accept queue? On Thu, Jul 21, 2011 at 12:12 PM, Dan Checkoway dchecko...@gmail.comwrote:

Re: AccessLogValve %D and acceptCount tuning

2011-07-21 Thread Pid
On 21/07/2011 17:16, Dan Checkoway wrote: Also forgot to ask...is there an MBean attribute that I can check via JMX to see how many established connections are waiting to be serviced? i.e. if there's a backlog in the accept queue? Yes. There is an attribute. Have a nose around Tomcat using

Re: AccessLogValve %D and acceptCount tuning

2011-07-21 Thread Dan Checkoway
Can you point me in the right direction? I'm using 7.0.19, poked with JConsole before my original post and can't see anything that indicates a current count of accepted connections. I've looked at Connector, Engine, GlobalRequestProcessor, Host, ProtocolHandler, Server, Service...you name, I've

Re: AccessLogValve %D and acceptCount tuning

2011-07-21 Thread Mark Thomas
On 21/07/2011 23:01, Pid wrote: On 21/07/2011 17:16, Dan Checkoway wrote: Also forgot to ask...is there an MBean attribute that I can check via JMX to see how many established connections are waiting to be serviced? i.e. if there's a backlog in the accept queue? Yes. There is an

Re: AccessLogValve %D and acceptCount tuning

2011-07-21 Thread Dan Checkoway
Gotcha, makes sense. Thanks Mark! On Thu, Jul 21, 2011 at 6:52 PM, Mark Thomas ma...@apache.org wrote: On 21/07/2011 23:01, Pid wrote: On 21/07/2011 17:16, Dan Checkoway wrote: Also forgot to ask...is there an MBean attribute that I can check via JMX to see how many established