** JVM and Processes

2001-06-01 Thread myatt83
Hi, For a particular web server we are running with Tomcat 3.1, we are having an issue with the java servlets that are running. What appears to be happening is that each time a servlet is called from the web site, a new process is created to run the java program. When I view processes with ps

RE: ** JVM and Processes

2001-06-01 Thread myatt83
Randy, Thanks for the advice. Could you be a little more specific, though, about how to use green threads instead of native threads and possibly differences between the two? Thanks. - Adam At 10:59 AM 6/1/2001 -0400, you wrote: Don't use ps - these are actually threads. ps is

Re: ** JVM and Processes

2001-06-01 Thread myatt83
Jeff, Thanks a bunch. Your answer appears to be the best so far. I have implemented the PoolTCPConnector in the server xml file and it appears to be limiting the number of threads as it should. However, something that has been happening (even before switching to PoolTCPConnector) is that when

Re: ** JVM and Processes

2001-06-01 Thread myatt83
Using the Pool connector and the min_spare_threads,max_spare_threads, and max_threads, I set max_threads to 30 just to test it. Once I restart the server.xml file, if I wait a little while (after some people have visited the site and used some of the servlets) more than 30 threads appear (listed