Re: Too many threads

2009-03-13 Thread Alexey Vlasov
On Wed, Mar 11, 2009 at 06:25:08PM -0400, Christopher Schultz wrote: >> But i've got one question left, can I set idle timeout for >> the thread TP-Processor, after which they will die? > > I think you have to use an for that. See > http://tomcat.apache.org/tomcat-6.0-doc/config/executor.html for

Re: Too many threads

2009-03-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexey, On 3/11/2009 6:16 PM, Alexey Vlasov wrote: > On Tue, Mar 10, 2009 at 11:04:43AM -0400, Christopher Schultz wrote: >> My thread dump contained 5 JVM threads + 14 Tomcat threads + 1 MySQL >> thread = 20 threads. You have 27, and you didn't tell

Re: Too many threads

2009-03-11 Thread Alexey Vlasov
Hi Christopher. On Tue, Mar 10, 2009 at 11:04:43AM -0400, Christopher Schultz wrote: > > I > > would like to know if they are useful and if not how to lessen their > > number. > > You should do a thread dump (send a SIG 3 > to your process and watch stdout) Thank you, that has made much clearer.

Re: Too many threads

2009-03-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexey, On 3/4/2009 4:52 PM, Alexey Vlasov wrote: > After daemon starting parenting process creayes too many threads. What is your definition of "too many"? More than one? > I > would like to know if they are useful and if not

Re: Too many threads

2009-03-06 Thread Juha Laiho
Alexey Vlasov wrote: > After daemon starting parenting process creayes too many threads. I > would like to know if they are useful and if not how to lessen their > number. Could you tell how these threads harm you / hurt your system performance? Threads are very lightweight objects, shar

Re: Too many threads

2009-03-05 Thread Alexey Vlasov
er and confidentiality note > Everything in this e-mail and any attachments relates to the official > business of Sender. This transmission is of a confidential nature and Sender > does not endorse distribution to any party other than intended recipient. > Sender does not necessarily en

RE: Too many threads

2009-03-04 Thread Martin Gainty
To: users@tomcat.apache.org > Subject: Too many threads > > Hi. > > After daemon starting parenting process creayes too many threads. I > would like to know if they are useful and if not how to lessen their > number. > > $ pstree -p -a tomcat >

Too many threads

2009-03-04 Thread Alexey Vlasov
Hi. After daemon starting parenting process creayes too many threads. I would like to know if they are useful and if not how to lessen their number. $ pstree -p -a tomcat java,10869 -server -Xms128M -Xmx256M-Djava.util.logging.manager=org.apache.juli.Cl |-{java},10877 |-{java},10883