Re: All threads busy + OutOfMemoryError

2007-10-23 Thread Dirk Weigenand
: Peter Bauer [EMAIL PROTECTED] An: Tomcat Users List users@tomcat.apache.org Betreff: All threads busy + OutOfMemoryError Hi all, i thought i had solved the All threads busy problem by implementing a dedicated servlet class for forwarding requests but maybe i was wrong or there is another

Re: Number of Threads in request processing pool and JVM heap size

2007-10-22 Thread Christopher Schultz
concurrent connections to a single servlet (weird?!), then you might end up with lots of stalled threads (potentially 395 of them) waiting for those 5 magic slots. Each thread needs 2 MB per thread then Is that an observation, or a guess? JVM heap size max = 400 * 2 MB (1GB) + 20

RE: Number of Threads in request processing pool and JVM heap size

2007-10-22 Thread Venkatesh Jayaraman (jvenky)
Thanks Chris for the response. -Venky -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Monday, October 22, 2007 1:04 PM To: Tomcat Users List Subject: Re: Number of Threads in request processing pool and JVM heap size -BEGIN PGP SIGNED MESSAGE

Number of Threads in request processing pool and JVM heap size

2007-10-21 Thread Venkatesh Jayaraman (jvenky)
I have 80 servlets on tomcat and each of them can have 5 five concurrent requests to be processed as per design. Tomcat Connectors specification says maxSpareThreads The maximum number of unused request processing threads that will be allowed to exist until the thread pool starts stopping

Re: All threads are currently busy

2007-10-19 Thread David Smith
You'd do something like req.getRequestDispatcher(/contextRel/path/to/logoutUrl).forward( req, resp ). All of the request parameters available to the current servlet would be passed on to the logout servlet. --David Peter Bauer wrote: Am Donnerstag 18 Oktober 2007 schrieb Christopher

Re: All threads are currently busy

2007-10-19 Thread Peter Bauer
Am Donnerstag 18 Oktober 2007 schrieb Christopher Schultz: Peter, This next method call is the problem. I am sending a POST request from one servlet instance to another one. But in situations with high load, all 20 instances are busy, so the ActiveRoleRemoval.sendLogoutMessages method

Re: All threads are currently busy

2007-10-18 Thread Peter Bauer
--- - Original Message - From: Peter Bauer [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Wednesday, October 17, 2007 10:52 AM Subject: All threads are currently busy Hi all, System: Tomcat 4.1.30 on Debian sarge java version 1.5.0_11 Java(TM) 2 Runtime Environment

Re: All threads are currently busy

2007-10-18 Thread Peter Bauer
--- - Original Message - From: Peter Bauer [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Wednesday, October 17, 2007 5:24 PM Subject: Re: All threads are currently busy Good afternoon Martin :-) On Wednesday 18 October 2000 16:08:34 you wrote: Good Morning Peter I assume

Re: All threads are currently busy

2007-10-18 Thread David Smith
This next method call is the problem. I am sending a POST request from one servlet instance to another one. But in situations with high load, all 20 instances are busy, so the ActiveRoleRemoval.sendLogoutMessages method which sends the POST request blocks because there is no other

Re: All threads are currently busy

2007-10-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, This next method call is the problem. I am sending a POST request from one servlet instance to another one. But in situations with high load, all 20 instances are busy, so the ActiveRoleRemoval.sendLogoutMessages method which sends the

All threads are currently busy

2007-10-17 Thread Peter Bauer
to recover from that status. In the catalina.out file, i get the following line: SEVERE: All threads (75) are currently busy, waiting. Increase maxThreads (75) or check the servlet status i searched some time in various forums and mailing list archives and found the following links: http://mail

Re: All threads are currently busy

2007-10-17 Thread Peter Bauer
), failedRoles.getEl2(index), isNam); } } } specifically are there higher priority threads currently executing so perhaps yield to those threads may apply? http://java.sun.com/j2se

Re: All threads are currently busy

2007-10-17 Thread Johnny Kewl
[EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Wednesday, October 17, 2007 10:52 AM Subject: All threads are currently busy Hi all, System: Tomcat 4.1.30 on Debian sarge java version 1.5.0_11 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03) Java HotSpot(TM) Client VM

Re: All threads are currently busy

2007-10-17 Thread Johnny Kewl
[EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Wednesday, October 17, 2007 5:24 PM Subject: Re: All threads are currently busy Good afternoon Martin :-) On Wednesday 18 October 2000 16:08:34 you wrote: Good Morning Peter I assume you have built glibc for debian following the specific build

Re: All threads are currently busy

2007-10-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, Peter Bauer wrote: This version of TC is quite old ..not sure if its supported anymore Yes, i know about that. If there is a major bug in this version, i could argue to upgrade (at least to the last 4.1.x version) but i would need some

Re: Threads in tomcat application.

2007-09-02 Thread Juha Laiho
Manivannan Palanichamy wrote: I need to design a web application that may use threads. Thats, the web application might have to read some 200 files from network. In order to speed up the process, I've decided to use threads/thread pooling. But, however I know it is not a good practice to use

Threads in tomcat application.

2007-08-31 Thread Manivannan Palanichamy
Hi I need to design a web application that may use threads. Thats, the web application might have to read some 200 files from network. In order to speed up the process, I've decided to use threads/thread pooling. But, however I know it is not a good practice to use threads in a web/server

Concurrent threads per session (limit = 3 ?)

2007-08-14 Thread Riechert, Andree
request to the same session blocks until one of the other requests return/finishes. It seems to me that the tomcat (v 5.5) limits the number of threads per session to 3. I would like to increase this number to prevent blocking of further requests. How can I adjust this setting ? Greetings Andree

Re: Concurrent threads per session (limit = 3 ?)

2007-08-14 Thread David Delbecq
I doubt tomcat limits the number of Threads per session. To get the session id, tomcat need to parse the request, but this parsing occurs in the Http-Thread that handle that network connection. Having that HTTP-thread wait would be, for tomcat, wasting a Thread. On the other hand, it's common

RE: Concurrent threads per session (limit = 3 ?)

2007-08-14 Thread Caldarale, Charles R
From: Riechert, Andree [mailto:[EMAIL PROTECTED] Subject: Concurrent threads per session (limit = 3 ?) It seems to me that the tomcat (v 5.5) limits the number of threads per session to 3. As David pointed out, it's not Tomcat imposing a limit - it's Firefox complying

Re: Interrupting tomcat threads.

2007-07-20 Thread keif
request when a second one comes in. Well, once the requests are synchronized, I'd like to give users an ability to change their mind and not wait until the first request finishes. That is the main justification for interrupting threads. It will allow for a more responsive interaction with the UI

Re: Interrupting tomcat threads.

2007-07-20 Thread Ronald Klop
for interrupting threads. It will allow for a more responsive interaction with the UI. There is an article with a good example of request synchronization: http://www.onjava.com/pub/a/onjava/2004/03/24/loadcontrol.html. Hope it's clear now why I'm asking about interrupting threads - vetoing

Re: Interrupting tomcat threads.

2007-07-20 Thread DJohnson
users@tomcat.apache.org To: Tomcat Users List users@tomcat.apache.org cc: keif [EMAIL PROTECTED] Subject:Re: Interrupting tomcat threads. On Fri Jul 20 15:23:45 CEST 2007 Tomcat Users List users@tomcat.apache.org wrote: Christopher Schultz-2 wrote: So, multiple simultaneous

Interrupting tomcat threads.

2007-07-19 Thread keif
this be accomplished by interrupting threads? Should I spawn new threads for such processing and manage them instead of working with threads given by the container? Thank you, keif. -- View this message in context: http://www.nabble.com/Interrupting-tomcat-threads.-tf4113604.html#a11697335 Sent

Re: Interrupting tomcat threads.

2007-07-19 Thread Christopher Schultz
this be accomplished by interrupting threads? Should I spawn new threads for such processing and manage them instead of working with threads given by the container? I think you can do this (but I still don't understand why you'd want to). You could do something like this: 1. Writer a filter

Re: Interrupting tomcat threads.

2007-07-19 Thread keif
that you proposed. Thank you for a quick reply, keif. -- View this message in context: http://www.nabble.com/Interrupting-tomcat-threads.-tf4113604.html#a11698350 Sent from the Tomcat - User mailing list archive at Nabble.com

Re: Interrupting tomcat threads.

2007-07-19 Thread Christopher Schultz
threads on the server side. I would also recommend vetoing the /second/ request, rather than canceling the first request when a second one comes in. You should have each synchronous request report some kind of success state, so that when the second request fails, the UI doesn't update inappropriately

Re: Tomcat - All threads (200) are currently busy

2007-07-16 Thread Christopher Schultz
André, André Vila Cova wrote: And it's possible to know what threads are really doing? And I don't understand why having the following 3 connectors maxThreads=400 minSpareThreads=25 maxSpareThreads=75 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 maxThreads=150 minSpareThreads=25

Re: Tomcat - All threads (200) are currently busy

2007-07-13 Thread André Vila Cova
this looks like a deadlock. I agree with Chuck: this is just an Object.wait() being called on the ControlRunnable object (which is probably the monitor for the thread pool). Most threads will be in this state. If you have threads in this state, then they are /not/ busy... they're waiting around

Re: Tomcat - All threads (200) are currently busy

2007-07-13 Thread André Vila Cova
And it's possible to know what threads are really doing? And I don't understand why having the following 3 connectors maxThreads=400 minSpareThreads=25 maxSpareThreads=75 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 I get error

Re: Tomcat - All threads (200) are currently busy

2007-07-12 Thread André Vila Cova
is doing? Thank You On 7/11/07, Titi Wangsa [EMAIL PROTECTED] wrote: probably some threads are performing database operation and it takes too long so new threads are being spawned, the new threads are also taking too long, so newer threads are being spawned. too much spawning, that is what

Re: Tomcat - All threads (200) are currently busy

2007-07-12 Thread Bill Au
- Djava.util.logging.conf Output is null when I execute the following command: [EMAIL PROTECTED] ~]# kill -QUIT 6404 [EMAIL PROTECTED] ~]# How can I see what thread is doing? Thank You On 7/11/07, Titi Wangsa [EMAIL PROTECTED] wrote: probably some threads are performing database operation

Re: Tomcat - All threads (200) are currently busy

2007-07-12 Thread Ingo Krabbe
is too long for any busy site of course. Before you examine all your threads you should test your application for such errors that delay the answer to requests. Maybe you should also try to build a test setup, answering very simple to your requests (hello, world) and push in one application module

Re: Tomcat - All threads (200) are currently busy

2007-07-12 Thread André Vila Cova
the connector had it's retry flag on. So the answer to each request was, trying to connect to a unconnectable database until the timeout has been reached, which is too long for any busy site of course. Before you examine all your threads you should test your application for such errors

Re: Tomcat - All threads (200) are currently busy

2007-07-12 Thread André Vila Cova
the timeout has been reached, which is too long for any busy site of course. Before you examine all your threads you should test your application for such errors that delay the answer to requests. Maybe you should also try to build a test setup, answering very simple to your

Re: Tomcat - All threads (200) are currently busy

2007-07-12 Thread Ingo Krabbe
Am Donnerstag, 12. Juli 2007 19:12 schrieb André Vila Cova: Lot of waits... Could you help me? http-8085-Processor24 daemon prio=1 tid=0x082f1378 nid=0x19c6 in Object.wait() [0xde118000..0xde118e20] at java.lang.Object.wait(Native Method) - waiting on 0xe619f748 (a

RE: Tomcat - All threads (200) are currently busy

2007-07-12 Thread Caldarale, Charles R
From: Ingo Krabbe [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat - All threads (200) are currently busy http-8085-Processor24 daemon prio=1 tid=0x082f1378 nid=0x19c6 in Object.wait() [0xde118000..0xde118e20] at java.lang.Object.wait(Native Method) - waiting

Re: Tomcat - All threads (200) are currently busy

2007-07-12 Thread Christopher Schultz
(a org.apache.tomcat.util.threads.ThreadPool$ControlRunnable) somehow this looks like a deadlock. I agree with Chuck: this is just an Object.wait() being called on the ControlRunnable object (which is probably the monitor for the thread pool). Most threads will be in this state. If you have threads in this state

Re: Tomcat - All threads (200) are currently busy

2007-07-12 Thread Leon Rosenberg
on the ControlRunnable object (which is probably the monitor for the thread pool). Most threads will be in this state. If you have threads in this state, then they are /not/ busy... they're waiting around for something to do! -chris

Tomcat - All threads (200) are currently busy

2007-07-11 Thread André Vila Cova
Hello! I get lot of times the following error: SEVERE: All threads (200) are currently *busy*, waiting. *Increase maxThreads* ** *Strange is that i've configured in server.xml the following (maxThreads=400):* * Connector port=8085 maxHttpHeaderSize=8192 maxThreads

Re: Tomcat - All threads (200) are currently busy

2007-07-11 Thread Mladen Turk
André Vila Cova wrote: Hello! I get lot of times the following error: SEVERE: All threads (200) are currently *busy*, waiting. *Increase maxThreads* ** *Strange is that i've configured in server.xml the following (maxThreads=400):* * You have probably done that for a wrong connector

Re: Tomcat - All threads (200) are currently busy

2007-07-11 Thread André Vila Cova
I don't think so... I will see..but, why i get the error? SEVERE: All threads (200) are currently *busy*, waiting. *Increase On 7/11/07, Mladen Turk [EMAIL PROTECTED] wrote: André Vila Cova wrote: Hello! I get lot of times the following error: SEVERE: All threads (200) are currently

Re: Tomcat - All threads (200) are currently busy

2007-07-11 Thread Leon Rosenberg
cause your threads are all busy serving requests (or hanging somewhere). Perform a thread dump with kill -QUIT and you'll see what they are doing. regards Leon On 7/11/07, André Vila Cova [EMAIL PROTECTED] wrote: I don't think so... I will see..but, why i get the error? SEVERE: All threads

Re: Tomcat - All threads (200) are currently busy

2007-07-11 Thread Titi Wangsa
probably some threads are performing database operation and it takes too long so new threads are being spawned, the new threads are also taking too long, so newer threads are being spawned. too much spawning, that is what is causing the limit break. On 7/12/07, André Vila Cova [EMAIL PROTECTED

Re: Tomcat Threads handling user Requests problem

2007-07-03 Thread Mirek Kopriva
to solve my problem another way (MDB comes into my mind). Thanks again, Mirek On 7/2/07, Johnny Kewl [EMAIL PROTECTED] wrote: - Original Message - From: Rainer Jung [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Monday, July 02, 2007 8:24 PM Subject: Re: Tomcat Threads

Tomcat Threads handling user Requests problem

2007-07-02 Thread Mirek Kopriva
Dear All, I have a problem when too few (only 2) Tomcat's threads is handling my requests. First a little background on what I'm trying to do: I have an web application, which loads a page. On loading the page there are Ajax script calls (DWR framework), requesting more data from the tomcat

Re: Tomcat Threads handling user Requests problem

2007-07-02 Thread David Delbecq
with. Fun along the way :D Now the problem. I can see only 2 Tomcat Threads, handling all of these request, which as you can imagine can take a while. Shouldn't tomcat take a new Thread from the Thread Pool for each Request up to Maximum? Am I missing some configuration Tricks? Here is the thread

RE: Tomcat Threads handling user Requests problem

2007-07-02 Thread Caldarale, Charles R
From: Mirek Kopriva [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat Threads handling user Requests problem Now the problem. I can see only 2 Tomcat Threads, handling all of these request, which as you can imagine can take a while. This is the result of the browser complying with the HTTP RFC

RE: [OT] Tomcat Threads handling user Requests problem

2007-07-02 Thread Caldarale, Charles R
From: Caldarale, Charles R Subject: RE: Tomcat Threads handling user Requests problem There is a registry setting you can tweak in Windows to let IE6/7 open more than 2 at a time; there's probably something equivalent in Firefox, but I don't know what it is. For IE, look here: http

Re: Tomcat Threads handling user Requests problem

2007-07-02 Thread Johnny Kewl
it will change, but you just going to be happier anyway ;) - Original Message - From: Mirek Kopriva [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Monday, July 02, 2007 3:55 PM Subject: Tomcat Threads handling user Requests problem Dear All, I have a problem when too few (only 2

Re: Tomcat Threads handling user Requests problem

2007-07-02 Thread Johnny Kewl
@tomcat.apache.org Sent: Monday, July 02, 2007 7:34 PM Subject: Re: Tomcat Threads handling user Requests problem Can you believe that, IE only allows 2 files downloaded at the same time, and then you have to dig into the registry get OPERA ;) Now that I advertised my favorite browser I think

Re: Tomcat Threads handling user Requests problem

2007-07-02 Thread Rainer Jung
Johnny Kewl wrote: Can you believe that, IE only allows 2 files downloaded at the same time, and then you have to dig into the registry get OPERA ;) The 2 connections are a recommendation for well-behaved http clients coming from the http spec in order to keep server load related to one

Re: Tomcat Threads handling user Requests problem

2007-07-02 Thread Johnny Kewl
- Original Message - From: Rainer Jung [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Monday, July 02, 2007 8:24 PM Subject: Re: Tomcat Threads handling user Requests problem Johnny Kewl wrote: Can you believe that, IE only allows 2 files downloaded

Retrieving working threads from an embedded Tomcat

2007-06-20 Thread Raffaele
Hi all, I have an Embedded Tomcat, and my question is: - How should I do to retrieving the information about the number of currently working threads using the Tomcat API? Thanks in advance, Best regards Raffaele -- View this message in context: http://www.nabble.com/Retrieving-working

How can i configure tomcat to avoid threads error in tomcat

2007-06-19 Thread Prashant Thakkar
Hi All, I am frequently getting this error in tomcat which stops my tomcat service. Pl help me its urgent and costing my service as well: I am getting bellow error in my catalina logs: Jun 19, 2007 5:55:44 PM org.apache.tomcat.util.threads.ThreadPool logFull SEVERE: All threads (250

Re: How can i configure tomcat to avoid threads error in tomcat

2007-06-19 Thread Andrew Miehs
:44 PM org.apache.tomcat.util.threads.ThreadPool logFull SEVERE: All threads (250) are currently busy, waiting. Increase maxThreads (250) or check the servlet status Hi Prashant, You may want to increase your 'maxThreads' setting in conf/server.xml Connector port=8080 maxHttpHeaderSize

RE: How can i configure tomcat to avoid threads error in tomcat

2007-06-19 Thread Robert Harper
Do as it says and increase the max threads parameter or manage your threads better. Robert S. Harper Senior Engineer Information Access Technology, Inc. 1100 East 6600 South, Suite 300 Salt Lake City Utah USA 84121-7411 (801)265-8800 Ext. 255 FAX (801)265-8880 This e-mail is intended only

Re: How can i configure tomcat to avoid threads error in tomcat

2007-06-19 Thread Prashant Thakkar
as it says and increase the max threads parameter or manage your threads better. Robert S. Harper Senior Engineer Information Access Technology, Inc. 1100 East 6600 South, Suite 300 Salt Lake City Utah USA 84121-7411 (801)265-8800 Ext. 255 FAX (801)265-8880 This e-mail is intended only for the addressee

Re: How can i configure tomcat to avoid threads error in tomcat

2007-06-19 Thread Andrew Miehs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19/06/2007, at 4:45 PM, Prashant Thakkar wrote: Hi, Thanks, But this is the clients application which we are running. We dont have the access to the servlet code. That was the the obvious reason we had increased the thread limit to 250.

Re: How can i configure tomcat to avoid threads error in tomcat

2007-06-19 Thread Brantley Hobbs
[EMAIL PROTECTED] wrote: Do as it says and increase the max threads parameter or manage your threads better. Robert S. Harper Senior Engineer Information Access Technology, Inc. 1100 East 6600 South, Suite 300 Salt Lake City Utah USA 84121-7411 (801)265-8800 Ext. 255 FAX (801)265-8880 This e-mail

Re: How can i configure tomcat to avoid threads error in tomcat

2007-06-19 Thread Prashant Thakkar
Hi, I read an abt thread pooling on below url: http://www.hp.com/products1/unix/webservers/apache/techtips/tomcat.html Thanks and Regards, -Prashant Thakkar On 6/19/07, Andrew Miehs [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19/06/2007, at 4:45 PM, Prashant

Re: How can i configure tomcat to avoid threads error in tomcat

2007-06-19 Thread Prashant Thakkar
connectionTimeout=2 proxyPort=80 disableUploadTimeout=true / -- Thanks and Regards, - Prashant Thakkar On 6/19/07, Robert Harper [EMAIL PROTECTED] wrote: Do as it says and increase the max threads parameter or manage your threads better. Robert S. Harper Senior Engineer

Re: How can i configure tomcat to avoid threads error in tomcat

2007-06-19 Thread Bill Barker
redirectPort=8443 acceptCount=100 debug=0 connectionTimeout=0 disableUploadTimeout=true / You almost certainly don't want connectionTimeout=0. That will tie up threads until the browser decides to drop the connection. !-- Note : To disable connection timeouts, set connectionTimeout

role of threads - profiling?

2007-06-13 Thread paul womack
, the most important thread is main, with 9666 ticks, closely followed by: TP-processor4 (9470 ticks) After this I get a list of http10722-processorN threads, with ticks running down from 4580 - 487 all other threads have very few ticks. On examining function profiles for these threads, it is clear

Re: role of threads - profiling?

2007-06-13 Thread David Delbecq
minutes with big applications) but occurs only once per life of jvm. followed by: TP-processor4 (9470 ticks) I think they handle various connections of tomcat before dispatching them to http-thread, modjk thread or alike. But not sure. After this I get a list of http10722-processorN threads

Re: Lots of JspRuntimeContext threads

2007-04-09 Thread Mark Thomas
Adam Rabung wrote: I _know_ I'll eventually discover this is some configuration problem on my end, I'm just trying to understand the life-cycle of the JspRuntimeContext to help me track it down. I'm still stumped. I should have looked at the code rather than relying on my dodgy memory. This

Re: Lots of JspRuntimeContext threads

2007-04-07 Thread Mark Thomas
Adam Rabung wrote: Any advice would be much appreciated. Had the contexts been reloaded at any point? If so, is there a rough correlation between the number of threads per context and the number of reloads? Mark - To start

Re: mod_jk/1.2.21, jkstatus does not display runtime state of load balanced threads, only N/A

2007-04-04 Thread Erik Melkersson
I have now been able to make it work on another minimalistic server using the same worker.properties. It displays the runtime state. Now I only have to find out what differs, that makes the status worker fail getting runtime state. (It's a lot that differs so that may take a long time :-/ )

Lots of JspRuntimeContext threads

2007-04-04 Thread Adam Rabung
Hello, Tomcat 5.5.9/Windows XP/Java 1.5_11 I have a Tomcat running about 16 contexts. A few of them are fairly busy. We recently had a Out of memory: unable to create new native thread Exception. At the time, we had roughly 500 threads in the VM. Of that, 147 were named JSPRuntimeContext

Re: mod_jk/1.2.21, jkstatus does not display runtime state of load balanced threads, only N/A

2007-03-29 Thread Rainer Jung
Please open a bugzilla issue and attach the relevant parts of your mod_jk config (jk directives from httpd.conf and workers.propertiers and uriworkermap.orperties, if applicable). Erik Melkersson schrieb: Thanks for the info but unfortunately I don't think that is is case for me. I surfed to a

Re: mod_jk/1.2.21, jkstatus does not display runtime state of load balanced threads, only N/A

2007-03-26 Thread Rainer Jung
N/A as a state means, that no requests have been sent to this worker for some time. So mod_jk is not really able to tell you about the state of the worker. It can only detect OK, ERROR etc. when it is sending requests to the workers. No requests, no state. A worker will be in state N/A

Re: mod_jk/1.2.21, jkstatus does not display runtime state of load balanced threads, only N/A

2007-03-26 Thread Erik Melkersson
Thanks for the info but unfortunately I don't think that is is case for me. I surfed to a mapped address and got pages back from the tomcat trough the workers and still had N/A as state. I've also used it and got an error message back (both tomcats blocked) but the state was still N/A. As I

Re: mod_jk/1.2.21, jkstatus does not display runtime state of load balanced threads, only N/A

2007-03-22 Thread Erik Melkersson
Does anyone recognize my problem about the runtime state that never is displayed or did it work for you out-of-the-box? Regards Erik Melkersson Erik Melkersson wrote: Hi! I've got an apache (1.3.33) with mod_jk (1.2.21) connecting to two tomcats (5.5.17) on other servers using a load

mod_jk/1.2.21, jkstatus does not display runtime state of load balanced threads, only N/A

2007-03-21 Thread Erik Melkersson
Hi! I've got an apache (1.3.33) with mod_jk (1.2.21) connecting to two tomcats (5.5.17) on other servers using a load balacer. (All running debian.) I also have mounted a jkstatus on a directory. My problem is that the jkstatus is never displaying the runtime state of the workers. I always

maximum number of connections/threads

2007-02-13 Thread Mirko Car
that, althougt I've set Max Threads to 9000, Tomcat server won't accept more than 300 concurrent connections?! I know there are some solutions around like coninuations introduced in Jetty 6, but there's still no solution for Tomcat (at least not in version 5.5)? Or am I missing something

Re: Can servlets safely spawn threads?

2007-02-07 Thread Danny Ayers
Many thanks! On 29/01/07, Bill Au [EMAIL PROTECTED] wrote: If you are spawning threads from your servlet, make sure that they are cleaned up when the servlet is destroyed. Otherwise, you will have a thread leak. I have ran into this problem when the webapp is reloaded without restarting

RE: multiple requests from the same client (only 2 threads are activated!)

2007-02-02 Thread David Rodríguez Fernández
: multiple requests from the same client (only 2 threads are activated!) Hi, I have a web application and I'm using ajax to send requests to the server (I'm using Tomcat 5.5.17). The problem is the following: - if I send more than two requests from the same client, the third request

RE: multiple requests from the same client (only 2 threads are activated!)

2007-02-02 Thread Mike Quilleash
threads are activated!) Are you using firefox as web client? There's an issue of firefox (i don't know what is) what only 2 downloads are performed as same time. -Mensaje original- De: Debora Desideri [mailto:[EMAIL PROTECTED] Enviado el: jueves, 25 de enero de 2007 19:49 Para: users

RE: multiple requests from the same client (only 2 threads areactivated!)

2007-02-02 Thread Caldarale, Charles R
From: Mike Quilleash [mailto:[EMAIL PROTECTED] Subject: RE: multiple requests from the same client (only 2 threads areactivated!) I believe the HTTP 1.1 spec specifies that a maximum of two simultaneous connections should be allowed by a remote client to a server. The spec defines

Can servlets safely spawn threads?

2007-01-29 Thread Danny Ayers
Hi, I would be grateful is someone could answer these questions: * Can servlets safely spawn threads? * If so, under what conditions? I tried to find the answers searching the web, but found conflicting views. So I thought it worth asking about a specific servlet container implemention. I'm

Re: Can servlets safely spawn threads?

2007-01-29 Thread David Delbecq
En l'instant précis du 01/29/07 11:33, Danny Ayers s'exprimait en ces termes: Hi, I would be grateful is someone could answer these questions: * Can servlets safely spawn threads? short answer, yes. They *can*. However that does not mean all spawned Threads are safe. * If so, under what

Re: Can servlets safely spawn threads?

2007-01-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Danny, David Delbecq wrote: 1) Your servlet must always take care to finish all Threads it has spawned. This mean when servlet gets unloaded, you must have provided a mecanism in your servlet to stop all running threads your servlet has created

Re: Can servlets safely spawn threads?

2007-01-29 Thread Bill Au
If you are spawning threads from your servlet, make sure that they are cleaned up when the servlet is destroyed. Otherwise, you will have a thread leak. I have ran into this problem when the webapp is reloaded without restarting the server. Each leaked thread has a reference to its classloader

Re: multiple requests from the same client (only 2 threads are activated!)

2007-01-26 Thread Debora Desideri
, 2007 11:30 PM Subject: RE: multiple requests from the same client (only 2 threads are activated!) From: Debora Desideri [mailto:[EMAIL PROTECTED] Subject: multiple requests from the same client (only 2 threads are activated!) - if I send more than two requests from the same client, the third

multiple requests from the same client (only 2 threads are activated!)

2007-01-25 Thread Debora Desideri
Hi, I have a web application and I'm using ajax to send requests to the server (I'm using Tomcat 5.5.17). The problem is the following: - if I send more than two requests from the same client, the third request is not executed until one of the other two has been executed. It seems

RE: multiple requests from the same client (only 2 threads are activated!)

2007-01-25 Thread Caldarale, Charles R
From: Debora Desideri [mailto:[EMAIL PROTECTED] Subject: multiple requests from the same client (only 2 threads are activated!) - if I send more than two requests from the same client, the third request is not executed until one of the other two has been executed. Assuming your

dedicated servlet threads

2006-12-21 Thread Alec Swan
Hi all, I have two servlets: Worker and Status. Worker servlet gets hit very frequently and consumes all available Tomcat threads (configured via maxThreads). Thus, whenever I try to access the Status thread I have to wait a long time. Is there a way to either dedicate some threads to Status

Tomcat 5.5.16 threads and SSL problem

2006-12-01 Thread A J Rodrigues
Hi I am fighting with Tomcat for a couple of days and I cannot find a cause to the problem. I am using Tomcat 5.5.16 and it is configured to run HTTP on port 8081 and HTTPS on port 8444. The problem: The application runs properly over HTTP. However over HTTPS the number of threads keep

Re: Replying to threads

2006-11-12 Thread Mark Thomas
Andrew Friebel wrote: I finally managed to get the email. I had to request it using users-get. Am I supposed to get the mail automatically? You are subscribed to the digest list. The Reply-To header is missing on the digest list so mail clients don't know where to send the reply. I'll get

Replying to threads

2006-11-09 Thread Andrew Friebel
This is going to seem like a real stupid question, but there seems to be no obvious way for me to reply to responses on threads. I have tried to use users-help and users-info email addresses to get this information, but they keep giving me automatic responses. How do I reply to a given thread

Re: Replying to threads

2006-11-09 Thread Justin Jaynes
of the group. But since you got this message sent to the list, you are. So go ahead and try respond to this message. Justin - Original Message From: Andrew Friebel [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Thursday, November 9, 2006 6:53:56 PM Subject: Replying to threads

RE: Replying to threads

2006-11-09 Thread Andrew Friebel
] Sent: Friday, 10 November 2006 1:46 PM To: Tomcat Users List Subject: Re: Replying to threads Well, I suppose it depends on your email client. But on almost all clients, open the message (or thread response which you wish to add to) and click the 'Reply' button in your email client. Then write

OutOfMemory Exceptions and HTTP Processor Threads

2006-10-31 Thread Ryan Gies
What I observe is: a) A certain amount of free memory is required to instantiate a web application b) Concurrent requests are handled by separate HTTP Processor threads c) The maxSpareThreads attribute of the HTTP Connector is not honored until GC And when I: 1) Deploy three helloworld Turbine

RE: OutOfMemory Exceptions and HTTP Processor Threads

2006-10-31 Thread Caldarale, Charles R
From: Ryan Gies [mailto:[EMAIL PROTECTED] Subject: OutOfMemory Exceptions and HTTP Processor Threads I will get OutOfMemory Exceptions because there is no free memory to instantiate the 3rd webapp, as the idle HTTP Connectors have consumed all available memory. May or may not have

threads and keep-alive connections

2006-10-23 Thread dima
Hello, How many threads tomcat with APR and without APR uses to handle keep-alive connections? As I understand tomcat without APR uses 1 thread per keep-alive connection as tomcat does not use NIO. APR may use epoll to handle keep-alive connections http://tomcat.apache.org/tomcat-5.5-doc

Re: max_threads issue blocked threads (*warning* long thread dump attached)

2006-10-18 Thread Pascal Alberty
Check your connectiontimeout value. May be it is too high ? Have you a heavy load on this server ? How many (concurent) users ? On 10/18/06, Derek Wormdahl [EMAIL PROTECTED] wrote: We initially started this project running on the Sun JVM but ran into an issue with the JVM aborting when doing a

Re: max_threads issue blocked threads (*warning* long thread dump attached)

2006-10-18 Thread Derek Wormdahl
now when I do a thread dump it shows 540 threads but our available mem on the server is still fine (and relatively unchanged since we started the service) and the CPU is about 90% idle. The thread count just climbs. We did hear about trying to set the LD_ASSUME_KERNEL parameter to 2.4.1 to use

RE: max_threads issue blocked threads (*warning* long thread dump attached)

2006-10-17 Thread Caldarale, Charles R
From: Derek Wormdahl [mailto:[EMAIL PROTECTED] Subject: max_threads issue blocked threads (*warning* long thread dump attached) We've been investigating an issue with a web application that is causing us problems. We are seeing the Tomcat server running out of available threads after

Re: max_threads issue blocked threads (*warning* long thread dump attached)

2006-10-17 Thread Derek Wormdahl
] Subject: max_threads issue blocked threads (*warning* long thread dump attached) We've been investigating an issue with a web application that is causing us problems. We are seeing the Tomcat server running out of available threads after a few hours of operation. What happens if you run

RE: stopping jk connector threads

2006-10-12 Thread Enrique Arce
threads Is there a way to stop hung jk connector threads with out restarting Tomcat? I can see threads that are hanging from the Tomcat manager server status page, but I can't kill them, only a server restart clears them. Is there a better way? Thanks, Enrique

<    5   6   7   8   9   10   11   >