Re: tomcat - thread per connection model

2003-09-22 Thread Rau NF
nothing. Am I mistaken ? Also, what is disableUploadTimeout ? I didn't find any doc. about this. If it is set to false, how can I configure a longer timeout for reading requests ? Thanks in advance Rau NF [EMAIL PROTECTED] wrote in message news:[EMAIL

tomcat - thread per connection model

2003-09-19 Thread Rau NF
Hi - Since tomcat implements a thread per connection model (as per the spec), would it be open to a DoS attack if it does not have an Apache server in front of it ? ie keep all threads busy servicing slow requests and valid users can't get in. Assuming there is no apache server in front of

Re: tomcat - request thread pool question

2003-08-26 Thread Rau NF
configured a connectionTimeout, then they usually last as long as the Apache child that they are talking to does. However, if they get a SocketException on output, then it will exit early (since Apache isn't talking to it anymore). = --- Rau NF [EMAIL

tomcat - request thread pool question

2003-08-22 Thread Rau NF
Hi - Under what conditions can the tomcat thread pool implementation decide to let a thread exit ? Would this happen if some application code threw an exception and is caught only by the tomcat framework ? Can it happen if the servlet is writing data out to a connection and gets a

minProcessors/max Processors question

2003-08-19 Thread Rau NF
Hello - We have set minProcessor/maxProcessors to 120 for our tomcat installation (4.1.24 on Linux RH 8). However, under load, we are seeing close to 220+ threads being created (kill -3 on the VM). We are not sure as to why this is happening. I read somewhere that minProcessors/maxProcessors is

finding number of threads being used by Tomcat

2003-08-11 Thread Rau NF
Hello - Is there a way (programmatically or otherwise) to find the number of threads being used by Tomcat while it's running ? This will be some number between minProcessors and maxProcessors. kill -3 on the JVM and getting the number of threads from the thread dump is not an option.

Re: minProcessor = maxProcessor value (are threads released if not used for some time ?)

2003-08-01 Thread Rau NF
-Original Message- From: Rau NF [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 6:47 PM To: [EMAIL PROTECTED] Subject: minProcessor = maxProcessor value (are threads released if not used for some time ?) Hi - I have set both these values to 100. When I run Tomcat 4.1.24/Linux/JDK 1.4.2

minProcessor = maxProcessor value (are threads released if not used for some time ?)

2003-07-31 Thread Rau NF
Hi - I have set both these values to 100. When I run Tomcat 4.1.24/Linux/JDK 1.4.2, I see that Tomcat does not create all the 100 threads. It is usually in the 40-70 range. Does this mean that Tomcat releases the thread (resources) if not used for some time ? How can I make it create all the 100

Re: Tomcat under load - Use 'java -Xss' to increase default stack size

2003-07-28 Thread Rau NF
Millennium ChemInformatics -Original Message- From: Rau NF [mailto:[EMAIL PROTECTED] Sent: Saturday, July 26, 2003 10:46 PM To: [EMAIL PROTECTED] Subject: Tomcat under load - Use 'java -Xss' to increase default stack size Hi - We have seen this problem showing up on Tomcat 4.1.24 (/JDK 1.4.2

Tomcat under load - Use 'java -Xss' to increase default stack size

2003-07-26 Thread Rau NF
Hi - We have seen this problem showing up on Tomcat 4.1.24 (/JDK 1.4.2 from Sun/Linux) after running tomcat for a few hours. Fatal: Stack size too small. Use 'java -Xss' to increase default stack size. We have set the stack size to 1024k and we still get this error. (-Xms/Xmx is 1.5 Gb) Any

Prevent jsps from recompiling

2003-06-13 Thread Rau NF
Hello - I am using Tomcat 4.1.24 and having problems with it trying to recompile my jsps even though they are compiled (jsps are located in WEB-INF/classes/jsp-servlet) I have set this in the web.xml (development=false, reloading=false, checkInterval=-1) and it still recompiles the jsps.