Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 40524 invoked from network); 10 Mar 2004 07:54:39 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 10 Mar 2004 07:54:39 -0000 Received: (qmail 36967 invoked by uid 500); 10 Mar 2004 07:54:01 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 36941 invoked by uid 500); 10 Mar 2004 07:54:01 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 36923 invoked from network); 10 Mar 2004 07:54:00 -0000 Received: from unknown (HELO imbaspam-nj03.iplex.ssmb.com) (199.67.141.25) by daedalus.apache.org with SMTP; 10 Mar 2004 07:54:00 -0000 Received: from imbarc-nj02.nj.ssmb.com (imbarc-nj02-1 [150.110.178.211]) by imbaspam-nj03.iplex.ssmb.com (8.12.10/8.12.10/SSMB_EXT/evision: 1.29 $) with ESMTP id i2A7s5rH019425 for ; Wed, 10 Mar 2004 02:54:09 -0500 (EST) Received: from mailhub-dc2.eu.ssmb.com (mailhub-dc2.eur.nsroot.net [169.186.205.199]) by imbarc-nj02.nj.ssmb.com (8.12.9/8.12.9/SSMB_QQQ_IN/1.1) with ESMTP id i2A7rsb0025556 for ; Wed, 10 Mar 2004 02:53:54 -0500 (EST) Received: from exuksm01.eur.nsroot.net (exuksm01.eur.nsroot.net [169.183.20.152]) by mailhub-dc2.eu.ssmb.com (8.12.10/8.12.10/CG_HUB) with ESMTP id i2A7qhCW028997 for ; Wed, 10 Mar 2004 07:53:54 GMT content-class: urn:content-classes:message Date: Wed, 10 Mar 2004 07:51:59 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: X-MimeOLE: Produced By Microsoft Exchange V6.0.6446.0 Thread-Topic: [users@httpd] Images slow to load in CGI script Thread-Index: AcQF6YzhfUcwldP/SKaclIJNUkPQqAAiSFuw From: "Merrell, Vince [IT]" To: X-Scanned-By: MIMEDefang 2.36 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: RE: [users@httpd] Images slow to load in CGI script X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Well, the CGI itself isn't fast. It's retrieving some data in real time from a database. I guess we're into 5 or 6 seconds retrieving the data (although this is = variable it's probably no more than 10 seconds at worst) and processing = it before the form can be generated based on the data received. The Perl contains $|=3D1; to stop Perl buffering the output although = unsetting this doesn't make any difference to the end result, the images = are still slow to load. One thing I have noticed while tailing Apache's access_log file is that = the GET entry for the image doesn't appear until the time the image = arrives in the browser: x.y.99.107 - web_server [10/Mar/2004:07:44:30 +0000] "POST = /entitlements_admin/group_remove_dev/show_entitlements.cgi HTTP/1.1" 200 = 7550 x.y.99.107 - - [10/Mar/2004:07:44:33 +0000] "GET /info2.gif HTTP/1.1" = 200 195 The POST of the CGI appears in the log as the CGI ends and the table is = drawn. The GET for the GIF file appears 3 to 5 seconds after the the CGI = finishes. Does this imply the browser is delaying requesting the image? = # As far as KeepAlive suggestions from Aur=E9lien, my httpd.conf contains = the following: KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 15 Timeout 300 Based on the comments in httpd.conf all these values seem reasonable. Vince -----Original Message----- From: Marty Landman [mailto:MLandman@face2interface.com] Sent: 09 March 2004 15:12 To: users@httpd.apache.org Subject: RE: [users@httpd] Images slow to load in CGI script At 10:02 AM 3/9/2004, Jonas Eckerman wrote: >It could be that the browser first waits for the complete document = before=20 >downloading/displaying the images. If this happens and it takes a long=20 >time for the document to finish (even thouhg the actual contents of it=20 >might have beens completely transferred), the symptoms could be what = you=20 >describe. Jonas, if that's the case then is it something controlled by httpd.conf, = or=20 is there nothing that can be done other than making sure the cgi = finishes=20 up quickly? Marty Landman Face 2 Interface Inc. 845-679-9387 FormATable DB: http://face2interface.com/Products/FormATable.shtml Make a Website: http://face2interface.com/Home/Demo.shtml Free Formmailer: http://face2interface.com/Products/Formal.shtml =20 --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server = Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org