Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 93166 invoked from network); 10 Dec 2001 10:40:15 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 10 Dec 2001 10:40:15 -0000 Received: (qmail 28200 invoked by uid 97); 10 Dec 2001 10:40:20 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 28183 invoked by uid 97); 10 Dec 2001 10:40:20 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 28144 invoked from network); 10 Dec 2001 10:40:19 -0000 From: =?iso-8859-1?Q?Ferran_Ar=EDs?= To: "Tomcat-Dev" Subject: Strange Thread Behaviour Date: Mon, 10 Dec 2001 11:40:17 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0032_01C1816F.70C07AA0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0032_01C1816F.70C07AA0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi everybody! I have a strange problem with Tomcat Version 4.0.1 running on GNU/Linux = Debian Kernel 2.2.19 using j2sdk 1.3.1 from blackdown. I have a JSP page that returns a simple 1 in simple text page format, no = HTTPsession. You start tomcat normally and the HTTPconnector running at port 80 = standalone has=20 minProcessors=3D5 maxProcessors=3D15 It starts 20 linux java processes and i can see that in the logs he open = the 5 initial background threads. Until now everything is OK. When you start calling the JSP page everything is OK. if you get mad and = you call this page over and over again very fast everything is ok but = after a while beggins to open new background threads for incoming = requests, this is also ok, maybe he has no time to process the lot of = requestes with 5 threads. The number of OS processes beggins to grow for = every background thread he opens, also no problem. Then i stop to ask = for the page, everything ok normally after a while he should stop the = background processes when the connection times out = (connectionTimeout=3D15000) so i wait about 3 hours. After this, the = number of java processes it's still the same and in the logs it doesn't = come nothing like (Stopping background thread) so i begin to call the = page again and again. When the number again the number of processes = begin to grow until Tomcat stops responding. After this "catalina.sh = stop" is not able to end tomcat i must "kill pid" of the first java = process otherwise java processes are always opened. It seems like tomcat has no control about the threads that were opened, any suggestions, please? Ferran ------=_NextPart_000_0032_01C1816F.70C07AA0--