Re: limiting instances of java
max_threads max_spare_threads min_spare_threads They're all parameters of the PoolTCPConnector class. If you're trying to configure the number of threads Tomcat is using, you should probably read about all three of them. They're all listed in the same section of the User's Guide. If you only configure max_spare_threads, you're not doing anything to limit the total number of threads Tomcat can spawn. You're just adjusting the number of idle threads it keeps in it's pool waiting for requests. --jeff - Original Message - From: Charles Williams (CEO) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 24, 2001 11:05 PM Subject: Re: limiting instances of java Actually, I believe that it's max_spare_threads. chuck - Original Message - From: Jeff Kilbride [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 24, 2001 8:53 PM Subject: Re: limiting instances of java Try the manual. (do a find on max_threads) http://jakarta.apache.org/tomcat/tomcat-3.2-doc/uguide/tomcat_ug.html --jeff - Original Message - From: Dino Ming [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 24, 2001 8:53 AM Subject: Re: limiting instances of java I have over 35+ instances...too.. Yes, how can we reduce the number of java instances ? - Original Message - From: Charles Williams (CEO) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 24, 2001 11:29 PM Subject: limiting instances of java hey, I just noticed that there are over 20 instances of java running when i do a ps call. How can I cut that down? chuck
limiting instances of java
hey, I just noticed that there are over 20 instances of java running when i do a ps call. How can I cut that down? chuck
Re: limiting instances of java
I have over 35+ instances...too.. Yes, how can we reduce the number of java instances ? - Original Message - From: Charles Williams (CEO) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 24, 2001 11:29 PM Subject: limiting instances of java hey, I just noticed that there are over 20 instances of java running when i do a ps call. How can I cut that down? chuck
Re: limiting instances of java
Charles Williams (CEO) wrote: hey, I just noticed that there are over 20 instances of java running when i do a ps call. How can I cut that down? Those are threads. Linux, right? -- Geir Magnusson Jr. [EMAIL PROTECTED] System and Software Consulting Developing for the web? See http://jakarta.apache.org/velocity/ You have a genius for suggesting things I've come a cropper with!
Re: limiting instances of java
Try the manual. (do a find on max_threads) http://jakarta.apache.org/tomcat/tomcat-3.2-doc/uguide/tomcat_ug.html --jeff - Original Message - From: Dino Ming [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 24, 2001 8:53 AM Subject: Re: limiting instances of java I have over 35+ instances...too.. Yes, how can we reduce the number of java instances ? - Original Message - From: Charles Williams (CEO) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 24, 2001 11:29 PM Subject: limiting instances of java hey, I just noticed that there are over 20 instances of java running when i do a ps call. How can I cut that down? chuck
Re: limiting instances of java
On Sunday 24 June 2001 19:59, you wrote: Charles Williams (CEO) wrote: hey, I just noticed that there are over 20 instances of java running when i do a ps call. How can I cut that down? Those are threads. I thought that ps is aimed at displaying process state (see man ps). Linux, right? Why do you think that the computer used is running Linux ? Regards, Julien Gilli. -- [EMAIL PROTECTED] http://darktigrou.free.fr/
Re: limiting instances of java
Gilli Julien wrote: On Sunday 24 June 2001 19:59, you wrote: Charles Williams (CEO) wrote: hey, I just noticed that there are over 20 instances of java running when i do a ps call. How can I cut that down? Those are threads. I thought that ps is aimed at displaying process state (see man ps). Yes. Linux does not make a distinction between 'process' and 'thread' the way other OS's do. Linux, right? Why do you think that the computer used is running Linux ? Because under linux, ps shows threads. In the case of the orignal poster, assuming he only started Tomcat, there aren't 20 JVMs. There are 20 native threads running in the JVM. You can verify this by noting with a 'ps alx' that the PPID will be the same for all but one, which will have that value for it's PID. That is the original process that spawned the other threads. geir -- Geir Magnusson Jr. [EMAIL PROTECTED] System and Software Consulting Developing for the web? See http://jakarta.apache.org/velocity/ You have a genius for suggesting things I've come a cropper with!
Re: limiting instances of java
Actually, I believe that it's max_spare_threads. chuck - Original Message - From: Jeff Kilbride [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 24, 2001 8:53 PM Subject: Re: limiting instances of java Try the manual. (do a find on max_threads) http://jakarta.apache.org/tomcat/tomcat-3.2-doc/uguide/tomcat_ug.html --jeff - Original Message - From: Dino Ming [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 24, 2001 8:53 AM Subject: Re: limiting instances of java I have over 35+ instances...too.. Yes, how can we reduce the number of java instances ? - Original Message - From: Charles Williams (CEO) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 24, 2001 11:29 PM Subject: limiting instances of java hey, I just noticed that there are over 20 instances of java running when i do a ps call. How can I cut that down? chuck