Hi Christopher,

2007/12/4, Christopher Schultz <[EMAIL PROTECTED]>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Breno,
>
> Breno Jacinto wrote:
> > http://www.freeunix.com.br/tomcat/all-2007-12-04-after-restart.html
>
> It looks like your JSPs are doing a /lot/ of work:
>
> jsp [ *.jsp , *.jspx ]
> Processing time: 28.512 s Max time: 14843 ms Request count: 8 Error
> count: 0 Load time: 1 ms Classloading time: 1 ms
>
> 8 requests tool a total of 28 seconds to process? And one of those
> requests took 14 seconds? That's pretty slow. Do you know which request
> that was?
>
> In the [jk-8009] section of the "before restart", it looks like you've
> got a lot going on:
>
> Max processing time: 725764 ms
>
> If it's really taking more than 10 minutes to process a request, then
> something is definitely wrong. I wouldn't be surprised if you have
> long-running processes that continue after the client has disconnected.
> These processes tie up threads needlessly.

     Yes, thats exactly the point. I'm sure there's something that
ties up the threads, I dont know yet what request(s).

>
> I would write a simple filter that logs the request URI + query string
> to a log file, then times the request processing itself and writes that
> out, too. Basically, you'll get a log file that says:
>
> /foo/bar.jsp?id=1324 27ms
> /foo/bar/jsp?id=1235 31ms
> /foo/baz.jsp 897234ms

     Is this filter provided by Tomcat? Is there any documentation on
this? The information would be very helpful, indeed.

>
> then you can see which requests take forever and maybe find out why. The
> first step in debugging is reproducibility ;)

     :) thanks for the advice.

>
> - -chris

best regards,

-- 
-- 
:: Breno Jacinto ::
:: breno - at - gprt.ufpe.br ::
:: FingerPrint ::
   2F15 8A61 F566 E442 8581
   E3C0 EFF4 E202 74B7 7484
:: Persistir no difícil é a única maneira de torná-lo fácil algum dia.  ::

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to