Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 79896 invoked from network); 1 Nov 2005 22:50:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Nov 2005 22:50:32 -0000 Received: (qmail 50543 invoked by uid 500); 1 Nov 2005 22:50:17 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 50530 invoked by uid 500); 1 Nov 2005 22:50:16 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 50519 invoked by uid 99); 1 Nov 2005 22:50:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2005 14:50:16 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [131.181.254.10] (HELO mail-router02-eth0.qut.edu.au) (131.181.254.10) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2005 14:50:12 -0800 Received: from [127.0.0.1] ([131.181.155.111]) by mail-router02-eth0.qut.edu.au (MOS 3.6.5-GR) with ESMTP id DVE04813 (AUTH knightsg); Wed, 2 Nov 2005 08:49:52 +1000 (EST) Message-ID: <4367F10C.8080906@qut.edu.au> Date: Wed, 02 Nov 2005 08:49:48 +1000 From: Guy Knights User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Tomcat-Apache slow PDF response References: <002a01c5de35$8a3e5160$4600000a@BALTHAZAR> <4366A3B5.2090900@qut.edu.au> In-Reply-To: <4366A3B5.2090900@qut.edu.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Junkmail-Whitelist: YES (by domain whitelist at mail-router02.qut.edu.au) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N As a test, I installed Apache 1.3.34 (the latest 1.3 release) and directed this to use the latest mod_jk connector with the latest build of tomcat (5.5.12). This has miraculously solved the slowness problem with large files - it appears the problem is probably an Apache 2/mod_jk issue. We'll need to investigate whether any of our web services will be affected by going back to an Apache 1.3 environment, but this is probably what we will have to do. However, we would rather not have to "go backwards" if possible, and I'm hoping that someone may have an idea as to what component of Apache 2 might be the cause of our problems. Any help would be appreciated. Regards, Guy Guy Knights wrote: > Sorry, I forgot to update my original post - yes, we have tried 1.2.14 > and the same problem occurred. > > I've done a bit more testing since yesterday, and discovered the > following about the problem: > > - if I redirect any large file to be served through the connector, it > gives the same slow response (approx. 38K/s). I've tried an .exe and a > .tar file. The PDFs I mentioned previously are about 12mb each. > > - removing the redirector for these large files, so that they are > instead served directly by apache increases the download speed to 126 > MB/s. This is also the case if I serve them directly via tomcat. ie. > something is happening when tomcat and apache communicate to serve the > files. > > - I used wget to access the files directly from the box that they are > served from, and experienced exactly the same issue. > > - in the configuration for mod_jk, I had the loglevel set to debug. I > changed this to loglevel error, and then removed it altogether, but > the slowness issue wasn't resolved. > > Any help would be greatly appreciated. > > Thanks, > Guy > > GB Developer wrote: > >>> -----Original Message----- >>> From: Guy Knights [mailto:g.knights@qut.edu.au] Sent: Sunday, >>> October 30, 2005 7:38 PM >>> To: Tomcat Mailing List >>> Subject: Tomcat-Apache slow PDF response >>> >>> >>> - compiling and installing the latest mod_jk connector (1.2.6) and >>> testing this with a test copy of apache (2.0.54) and the same copy >>> of tomcat. This didn't solve the problem. >>> >> >> >> >> It might not make a differenc, but latest jk is 1.2.14 >> http://tomcat.apache.org/connectors-doc/news/20050101.html#20050713.1 >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >> For additional commands, e-mail: users-help@tomcat.apache.org >> >> >> > > -- Guy Knights Computer Systems Officer Library Systems QUT Victoria Park Road, Kelvin Grove Ph: (617) 3864 3350 Fax: (617) 3864 5539 Email: g.knights@qut.edu.au --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org