Re: mod_jk fails to forward request on high traffic

2009-09-10 Thread John Cherouvim
hanks again Ioannis André Warnier wrote: John Cherouvim wrote: ... Is there a possibility that there is a problem with the fact that I use: ... ServerLimit1024 MaxClients 1024 and default settings? address="127.0.0.1" /> Do those 2 need to have the

Re: mod_jk fails to forward request on high traffic

2009-09-08 Thread John Cherouvim
ce impact! Is there a possibility that there is a problem with the fact that I use: ... ServerLimit1024 MaxClients 1024 and default settings? address="127.0.0.1" /> Do those 2 need to have the same thread count (MaxClients=maxThreads)? thanks Ioannis Mark T

mod_jk fails to forward request on high traffic

2009-09-08 Thread John Cherouvim
Hello I have a website which during peak time (peak lasts around ~4 hours with 14 pageviews/sec, 140 http requests/sec) starts to drop pageview requests. My setup is: - SUSE Linux Enterprise Server 10 (x86_64) with 8 cpus, 16GB ram - 1 instance of apache 2.2.10 with mpm prefork - mod_jk/1.2.28

Re: JSP 2.0 tag files slowing development/deployment

2006-07-27 Thread John Cherouvim
Thanks for your reply. I've done some testing and tomcat 5.5 compiled the jsp/tags about 2.5-3 times faster! Here is the test with the results: tag files: 122 size : 154kb settings : -Xms256m -Xmx256m |---++---+| | 5.0.28

Re: JSP 2.0 tag files slowing development/deployment

2006-07-26 Thread John Cherouvim
f in the easy of use of JSP tags vs .tag files. Putting your .tag files into a jar will still occur a compile time penalty. Using a template engine has its own tradeoffs. (Personally - I like freemarker if you need to use a template engine) Good luck -Tim John Cherouvim wrote: The second (big)

JSP 2.0 tag files slowing development/deployment

2006-07-26 Thread John Cherouvim
Hello I'm building a mid scale web application for use within an intranet. I'm using a custom web framework to handle flow, user input, validations, persistence with hibernate and views with JSP and JSP 2.0 tag files. I use tomcat 5.0.28 and in particular this feature it has where you can wri

tomcat and mod_jk2 error messages

2006-04-13 Thread John Cherouvim
Hello I have apache2, mod_jk2 and tomcat 5.0.28 on linux. Sometimes tomcat fails (the process is killed somehow) or simply apache cannot propagate the requests to tomcat. When this happens I get the following stuff in the apache errorlog: [Thu Apr 13 10:03:31 2006] [error] msgAjp.receive(): Bad

Tomcat 5.5.15 in "debug mode"?

2006-04-03 Thread John Cherouvim
Hello I have a serious problem with Tomcat 5.5.15 on windows 2003 with Java 1.5.0_06-b05. Tomcat runs as service in mode jvm (and not mode java, not sure what that is but anyway). Every request on the server gives me this block of debug log on stdout.log 2006-04-03 17:51:36,421 DEBUG [ajp-800

Application stop via the manager

2006-03-10 Thread John Cherouvim
Hello I have a server (example.com) with tomcat 5.0.28 running a couple of applications. In the manager I stop application 'foo' and it gives me: OK - Stopped application at context path /foo When I go to example.com:8080/foo I'm getting the expected error message: HTTP Status 503 - This app

Re: JNDI datasource question

2006-03-08 Thread John Cherouvim
quot; says close any idle connections in excess of 20. SHOW PROCESSLIST will reveal 20 or fewer idle processes in this case. maxActive="50" says to cut off incoming connections at 50. Any connection attempt beyond 50 will wait for maxWait="5000" (5 seconds) for a free connection

JNDI datasource question

2006-03-08 Thread John Cherouvim
Hello I have a JNDI Datasource pooling 10 connections on a database of my mysql server. Why does it use only one process on the mysql server? I have set max active to 10 connections and I am accessing the application from different IPs at the same time. I then perform a SHOW PROCESSLIST on my