Setting development=false for performance increase

2006-10-20 Thread Frank Niedermann
Hello, I've deployed a third party web application on my Tomcat servers. There are no parameters for development or reloading set in the web applications web.xml so I think the default values from conf/web.xml will be used which is development=true is that correct? I don't want to change the

Re: Setting development=false for performance increase

2006-10-20 Thread Frank Niedermann
And I found another one: classdebuginfo which is true by default but will also increase performance if set to false. Unfortunately I found no way to test both parameters, the Tomcat examples are already to fast to see any difference. Is there any way to slow the whole thing down to see different

Re: performance question

2006-10-09 Thread Frank Niedermann
Leon, Leon Rosenberg-3 wrote: check your probably not existing performance monitoring log files? :-) On 8/11/06, Propes, Barry L [EMAIL PROTECTED] wrote: I'm having some problems this morning with performance. How can I easily determine if it's servlets, or Tomcat, as opposed to

Performance decreasing if access.log enabled

2006-10-09 Thread Frank Niedermann
Hi, my users are experiencing increasing performance if I enable access.log: !-- Access log processes all requests for this virtual host. By default, log files are created in the logs directory relative to $CATALINA_HOME. If you wish, you can specify a

Re: Performance decreasing if access.log enabled

2006-10-09 Thread Frank Niedermann
Tim, Tim Funk wrote: Unless you are max'd on working threads - access logging should not be a performance hit. Access logging takes pace after the response is sent to the client. BUT if the access logs are big, AND you a re low on disk, AND/OR your disk is SLW then that could be

Re: Performance decreasing if access.log enabled

2006-10-09 Thread Frank Niedermann
disks so they should have enough performance. I'm now totally unsure if I should enable access.log-files (to have statistics with AWstats) or disable them (to have more performance) ... Frank Frank Niedermann wrote: Tim, Tim Funk wrote: Unless you are max'd on working threads - access

Re: Performance decreasing if access.log enabled

2006-10-09 Thread Frank Niedermann
luck. -Tim Frank Niedermann wrote: I've installed LambdaProbe and it tells me that there are not much Threads (about 50) and most of them are in state of waiting or timed_waiting. So that seems to be okay - but what if Tomcat sent the response to the first user request and then does

Re: Performance decreasing if access.log enabled

2006-10-09 Thread Frank Niedermann
in a galaxy far, far away I remember something about antivirus impacting file I/O performance. Would your box happen to have antivirus enabled? If so, any chance you could exclude your logs from it and/or disable it for the purpose of a test? --David Frank Niedermann wrote

Re: Performance decreasing if access.log enabled

2006-10-09 Thread Frank Niedermann
a higher CPU load rather than a disk bottleneck. --David Frank Niedermann wrote: David, that is a good idea from far, far away :-) Antivirus is enabled (I'm not suicidal, this is a Windows box ;) but according to the Windows performance viewer there is no bottleneck on the harddisk, it's always

Re: Performance decreasing if access.log enabled

2006-10-09 Thread Frank Niedermann
Leon On 10/9/06, Frank Niedermann [EMAIL PROTECTED] wrote: David, CPU load is also very low, maximum is 80%. There are two CPUs (real, not virtualized) in the server and according to the performance view on Windows there could be much more users on the system. But I'm not sure

RE: Precompiled JSPs after Tomcat restart

2006-09-27 Thread Frank Niedermann
Tracy Nelson-2 wrote: You might be able to preload all your JSPs by using the load-on-startup tag. Something like: servlet servlet-nameMyServlet/servlet-name jsp-file/jsp/MyPage.jsp/jsp-file load-on-startup1/load-on-startup /servlet How will this preload all JSPs? Or do

Re: Precompiled JSPs after Tomcat restart

2006-09-25 Thread Frank Niedermann
. Where are the compiled JSP files? How can I see if they get cached or will Tomcat compile them every time or at restarts? Regards, Frank Michael Zoller wrote: Frank Niedermann wrote: Hello, is it right that Tomcat stores all compiled JSP sites in Tomcat5\work\Catalina\localhost

Re: Precompiled JSPs after Tomcat restart

2006-09-25 Thread Frank Niedermann
. After visiting (and compiling?) every JSP page it gets faster until next Tomcat restart. Can anybody clarify or help me out with hints to documentation? Thanks. Michael Zoller wrote: Frank Niedermann wrote: Hello, is it right that Tomcat stores all compiled JSP sites in Tomcat5\work\Catalina

RE: Precompiled JSPs after Tomcat restart

2006-09-25 Thread Frank Niedermann
: Frank Niedermann [mailto:[EMAIL PROTECTED] | Sent: Monday, 25 September, 2006 04:48 | To: users@tomcat.apache.org | Subject: Re: Precompiled JSPs after Tomcat restart | | | I've found the .java and .class files in a new sample application. | | I still don't understand if the compiled

Precompiled JSPs after Tomcat restart

2006-09-20 Thread Frank Niedermann
Hello, is it right that Tomcat stores all compiled JSP sites in Tomcat5\work\Catalina\localhost\application\org\apache\jsp? After a restart of Tomcat I still see all the .class files in above mentioned directory, does that mean that these files do not have to be compiled again at first access to

Log analysis with Apache, mod_jk and 2 Tomcat instances

2006-09-11 Thread Frank Niedermann
Hello, for a project I had to set up an environment with Apache2, mod_jk and 2 Tomcat instances. Apache2 / mod_jk will route requests to Tomcat1 and Tomcat2 (load balancing). How can I install a log analysis tool like AWstats into this environment? I mean which log files should I use,