tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vicky <vicky007aggar...@yahoo.co.in>
Subject Re: PSI-PROBE query
Date Sun, 09 Dec 2012 18:56:23 GMT
Yes Chris, i am pretty sure that nobody is accessing the application.

The moment i start my Tomcat the "Request Count " reaches values of 400+ within few seconds,
this value is getting incremented by 6 everytime (eg: 6,12,18,24,30)

Whereas my AJP Connector "Request Count"  is showing the correct numbers depending  on the
requests which all are redirected from APache.

As of now i have not configured the "AccessLogValve" , but will try out this option definitely

Please suggest 

Thanks
Vicky


________________________________
 From: Christopher Schultz <chris@christopherschultz.net>
To: Tomcat Users List <users@tomcat.apache.org> 
Sent: Sunday, 9 December 2012 10:29 PM
Subject: Re: PSI-PROBE query
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Vicky,

On 12/9/12 7:05 AM, vicky wrote:
> I am trying to gather statistical information about the number of 
> requests served by my tomcat (forwarded from Apache MPM worker) &
> for this i am using /PSI-PRobe
> (http://code.google.com/p/psi-probe/) application. I have enclosed
> the "PROBE screenshot" as well for your reference,

Sorry, this list strips attachments. Please copy/paste the numbers
into a followup post.

> in this "Request Time "," Processing Time " values  for  http-8080
>  connector are keep on increasing even when no one is accessing
> the application.

Are you sure nobody is accessing the application? Do you have an
AccessLogValve (or Filter) enabled?

> I am wondering how can i get the report of number of requests which
> all are served by my tomcat instance, i am not able to relate to
> the numbers which all are getting displayed in the Probe
> Application. Does i am doing something wrong in interpreting the
> Probe Application output

If you want to know which requests are taking a long time, configure
(or re-configure) an AccessLogValve to include the total time for the
request. Then sort your log file by response-time and start at the
longest response to see what's going on.

Psi Probe likely uses JMX (or maybe gets the data directly from Tomcat
in the same way that the JMX beans get their data), so all that same
data is available the JMX. Attach to Tomcat using jconsole, jvisualvm,
etc. and poke around: there's a lot of good information in there.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEAREIAAYFAlDEw2kACgkQ9CaO5/Lv0PCrswCgh1e7HpCS7uLtr9jiq9Qg+q1Y
7EQAn2+z7X/0mEBdzL5nZazdJh/D4SAh
=1U+/
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message