Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 69942 invoked from network); 25 Sep 2003 07:22:46 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 25 Sep 2003 07:22:46 -0000 Received: (qmail 65464 invoked from network); 25 Sep 2003 07:23:08 -0000 Received: from unknown (HELO apache.org) (127.0.0.1) by 127.0.0.1 with SMTP; 25 Sep 2003 07:23:08 -0000 Message-ID: <3F72982A.1080402@apache.org> Date: Thu, 25 Sep 2003 09:24:26 +0200 From: Henri Gomez User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.4) Gecko/20030624 X-Accept-Language: fr, en MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: mod_jk does not detect a hung Tomcat References: <3832.208.48.139.163.1064250562.squirrel@www.greenhydrant.com> <3F700FD3.3080007@apache.org> <3F7011BA.8080404@apache.org> <3F701260.8090407@apache.org> <1282.66.75.241.88.1064331657.squirrel@www.greenhydrant.com> <3F706C0A.8020607@apache.org> <3F71F060.7020106@mail.more.net> <012a01c382d5$c5e5ea10$ec66a8c0@bbarkerxp> <3F728A18.1040000@apache.org> <1662.66.75.241.88.1064474102.squirrel@www.greenhydrant.com> In-Reply-To: <1662.66.75.241.88.1064474102.squirrel@www.greenhydrant.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Rating: 127.0.0.1 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N David Rees a �crit : > Henri Gomez said: > >>>This won't work with the pre-fork MPM, since each Apache child will >>>have >>>its own idea of the timing. The only way that it could tell that a >>>Tomcat >>>failed is to try the request and fail :). >>> >>> >>> >>>>The idea needs to be flushed out some more. But we should be able to >>>>track >>>>enough data about how a worker is performing to make some simple >> >>Well the code is ready, native (jk), java (tc 3.3 + jtc) and I've >>updated documentations. >> >>Added PING/PONG support in ajp13, and make use of select() to >>determine if there is something to read. >> >>I attached a copy of jk_ajp_common.c for review but I'd like to commit >>the code before HEAD diverge. Since the new functionnalities are off >>by default it shouldn't hurt ;) > > > You work fast, Henri. ;-) The blocking read() need to be fixed for years :) > If you want, I can test it out tomorrow. If you can give me patches for > Tomcat 4.1.27 and mod_jk, I'll see if I can get it compiled and run some > quick tests. If nobody object I'll commit it today, just wait jtc commiters to give a confirmation since jk 1.2.5 should be released before.