From owner-apache@oss.sgi.com Thu Dec 23 15:19:47 1999 Received: by oss.sgi.com id ; Thu, 23 Dec 1999 15:19:37 -0800 Received: from deliverator.sgi.com ([204.94.214.10]:29241 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 23 Dec 1999 15:19:19 -0800 Received: from trudge.engr.sgi.com (trudge.engr.sgi.com [198.29.115.101]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id PAA11425 for ; Thu, 23 Dec 1999 15:14:43 -0800 (PST) mail_from (mja@trudge.engr.sgi.com) Received: (from mja@localhost) by trudge.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id PAA83506 for apache@oss.sgi.com; Thu, 23 Dec 1999 15:17:46 -0800 (PST) From: mja@trudge.engr.sgi.com (Mike Abbott) Message-Id: <199912232317.PAA83506@trudge.engr.sgi.com> Subject: The Accelerating Apache Project To: apache@oss.sgi.com Date: Thu, 23 Dec 1999 15:17:45 -0800 (PST) X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: The Accelerating Apache Project is now up on SGI's Open Source site! http://oss.sgi.com/projects/apache Your contributions and comments are always welcome. -- Michael J. Abbott mja@sgi.com http://reality.sgi.com/mja From owner-apache@oss.sgi.com Wed Dec 29 08:14:31 1999 Received: by oss.sgi.com id ; Wed, 29 Dec 1999 08:14:21 -0800 Received: from mail1.comned.com ([194.151.209.221]:54534 "EHLO comned.com") convert rfc822-to-8bit by oss.sgi.com with ESMTP id ; Wed, 29 Dec 1999 08:14:04 -0800 Received: from water.comned.com ([194.151.209.33] verified) by comned.com (CommuniGate Pro SMTP 3.1) with SMTP id 593240 for apache@oss.sgi.com; Wed, 29 Dec 1999 18:11:21 +0100 From: wim bakker To: apache@oss.sgi.com Subject: modperl and 10x patches Date: Wed, 29 Dec 1999 18:25:34 +0100 X-Mailer: KMail [version 1.1.33] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <99122918253400.13089@water.comned.com> Content-Transfer-Encoding: 8BIT Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: When trying to compile in modperl with the 10x patches I get the following error.: ---------------------------------------------- Connection.xs: In function `XS_Apache__Connection_remote_ip': Connection.xs:102: incompatible types in assignment make[4]: *** [Connection.o] Error 1 make[3]: *** [all] Error 1 make[2]: *** [subdirs] Error 1 make[2]: Leaving directory `/ext/install/apache_1.3.9/src' make[1]: *** [build-std] Error 2 make[1]: Leaving directory `/ext/install/apache_1.3.9' make: *** [build] Error 2 ------------------------------------------- The 1.3.9 src was patched was the allin 10x patch and compiling goes fine without modperl How can I solve this? TIA wim -- wim bakker ComNed-31 20 4350025 From owner-apache@oss.sgi.com Tue Jan 4 17:32:42 2000 Received: by oss.sgi.com id ; Tue, 4 Jan 2000 17:32:32 -0800 Received: from sgi.SGI.COM ([192.48.153.1]:63860 "EHLO sgi.com") by oss.sgi.com with ESMTP id ; Tue, 4 Jan 2000 17:32:09 -0800 Received: from trudge.engr.sgi.com ([198.29.115.101]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id RAA02553 for ; Tue, 4 Jan 2000 17:32:51 -0800 (PST) mail_from (mja@trudge.engr.sgi.com) Received: (from mja@localhost) by trudge.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id RAA28717; Tue, 4 Jan 2000 17:32:43 -0800 (PST) From: mja@trudge.engr.sgi.com (Mike Abbott) Message-Id: <200001050132.RAA28717@trudge.engr.sgi.com> Subject: Re: modperl and 10x patches To: wim@comned.com (wim bakker) Date: Tue, 4 Jan 2000 17:32:43 -0800 (PST) Cc: apache@oss.sgi.com In-Reply-To: <99122918253400.13089@water.comned.com> from "wim bakker" at Dec 29, 1999 06:25:34 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: > When trying to compile in modperl with the 10x patches I get the following > error.: > Connection.xs: In function `XS_Apache__Connection_remote_ip': > Connection.xs:102: incompatible types in assignment > How can I solve this? Yup, looks like an incompatibility I introduced. The first of several I'm sure. The offending bit of code in my mod_perl tree looks like this: if(items > 1) conn->remote_ip = pstrdup(conn->pool, (char *)SvPV(ST(1),na)); I changed the remote_ip member of struct conn_rec from a char* to a char[] so assigning to it is no longer valid. You can change it back or you can change mod_perl's Connection.xs to copy to the string rather than assign to it. You will also need to update the new member remote_ip_len. The new bit of code looks like this and compiles for me: if(items > 1) { strcpy(conn->remote_ip, (char *)SvPV(ST(1),na)); conn->remote_ip_len = strlen(conn->remote_ip); } -- Michael J. Abbott mja@sgi.com http://reality.sgi.com/mja From owner-apache@oss.sgi.com Tue Jan 11 16:23:19 2000 Received: by oss.sgi.com id ; Tue, 11 Jan 2000 16:23:09 -0800 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:1322 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 11 Jan 2000 16:22:43 -0800 Received: from trudge.engr.sgi.com (trudge.engr.sgi.com [198.29.115.101]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id QAA08597 for ; Tue, 11 Jan 2000 16:26:14 -0800 (PST) mail_from (mja@trudge.engr.sgi.com) Received: (from mja@localhost) by trudge.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id QAA51270 for apache@oss.sgi.com; Tue, 11 Jan 2000 16:22:44 -0800 (PST) From: mja@trudge.engr.sgi.com (Mike Abbott) Message-Id: <200001120022.QAA51270@trudge.engr.sgi.com> Subject: SPECweb96 results approved To: apache@oss.sgi.com Date: Tue, 11 Jan 2000 16:22:43 -0800 (PST) X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: Yesterday SPEC reviewed and approved the three SPECweb96 benchmark results SGI had submitted that used the Accelerating Apache Project's patches! This is superb validation of the work so far. You can view the results at: http://www.spec.org/osg/web96/results/res99q4/ -- Michael J. Abbott mja@sgi.com http://reality.sgi.com/mja From owner-apache@oss.sgi.com Fri Jan 14 00:20:12 2000 Received: by oss.sgi.com id ; Fri, 14 Jan 2000 00:20:03 -0800 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:61781 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Fri, 14 Jan 2000 00:19:45 -0800 Received: from trudge.engr.sgi.com (trudge.engr.sgi.com [198.29.115.101]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id AAA06275 for ; Fri, 14 Jan 2000 00:23:31 -0800 (PST) mail_from (mja@trudge.engr.sgi.com) Received: (from mja@localhost) by trudge.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id AAA61147 for apache@oss.sgi.com; Fri, 14 Jan 2000 00:19:57 -0800 (PST) From: mja@trudge.engr.sgi.com (Mike Abbott) Message-Id: <200001140819.AAA61147@trudge.engr.sgi.com> Subject: Follow-on patch 1 available To: apache@oss.sgi.com Date: Fri, 14 Jan 2000 00:19:56 -0800 (PST) X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: Follow-on patch 1 fixes a logging bug in the original Accelerating Apache patch. See http://oss.sgi.com/projects/apache/patchinfo.html for details. -- Michael J. Abbott mja@sgi.com http://reality.sgi.com/mja From owner-apache@oss.sgi.com Thu Jan 20 13:30:36 2000 Received: by oss.sgi.com id ; Thu, 20 Jan 2000 13:30:26 -0800 Received: from sgi.SGI.COM ([192.48.153.1]:7198 "EHLO sgi.com") by oss.sgi.com with ESMTP id ; Thu, 20 Jan 2000 13:30:04 -0800 Received: from trudge.engr.sgi.com ([198.29.115.101]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id NAA09289 for ; Thu, 20 Jan 2000 13:31:53 -0800 (PST) mail_from (mja@trudge.engr.sgi.com) Received: (from mja@localhost) by trudge.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id NAA87984; Thu, 20 Jan 2000 13:30:31 -0800 (PST) From: mja@trudge.engr.sgi.com (Mike Abbott) Message-Id: <200001202130.NAA87984@trudge.engr.sgi.com> Subject: Re: Conflict between mod_ssl and SGI performance patch. To: jmdault@netrevolution.com (Jean-Michel Dault) Date: Thu, 20 Jan 2000 13:30:30 -0800 (PST) Cc: apache@oss.sgi.com Reply-To: apache@oss.sgi.com In-Reply-To: from "Jean-Michel Dault" at Jan 19, 2000 03:08:33 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: > I tried to compile the mod_ssl package from Ralph Engelschall > (www.modssl.org) in combination with the SGI performance patches > (http://oss.sgi.com/projects/apache/). The two sets of patches are > conflicting. I found that it is easy to apply both mod_ssl and the SGI patches as long as the SGI patches are applied first. There are still conflicts but they are straightforward to resolve. I, and maybe others on the Accelerating Apache mailing list, can help you with specific problems you may encounter. -- Michael J. Abbott mja@sgi.com http://reality.sgi.com/mja From owner-apache@oss.sgi.com Mon Jan 31 13:40:07 2000 Received: by oss.sgi.com id ; Mon, 31 Jan 2000 13:39:57 -0800 Received: from www.khouse.org ([207.53.128.94]:3381 "EHLO khouse.khouse.org") by oss.sgi.com with ESMTP id ; Mon, 31 Jan 2000 13:39:48 -0800 Received: from russ ([207.170.225.141]) by khouse.khouse.org (8.8.5/8.8.5) with SMTP id NAA08995 for ; Mon, 31 Jan 2000 13:26:33 -0800 (PST) From: "Tech Mail" To: Subject: Binary of patched Apache Date: Mon, 31 Jan 2000 13:42:27 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: Hello, I'm having trouble compiling the patched apache 1.3.9, and I was wondering if you could supply a binary distro of it. I downloaded and installed the Bindist from apache's ftp server and its remarkably slower than netscape, so i found these patches and tried to compile. no luck. I've compiled apache successfully on linux many times, and I don't want to debug it for IRIX :) Thank you, Russ Mann From owner-apache@oss.sgi.com Mon Feb 7 15:10:08 2000 Received: by oss.sgi.com id ; Mon, 7 Feb 2000 15:09:58 -0800 Received: from sgi.SGI.COM ([192.48.153.1]:19460 "EHLO sgi.com") by oss.sgi.com with ESMTP id ; Mon, 7 Feb 2000 15:09:36 -0800 Received: from trudge.engr.sgi.com ([163.154.38.51]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id PAA07986 for ; Mon, 7 Feb 2000 15:09:30 -0800 (PST) mail_from (mja@trudge.engr.sgi.com) Received: (from mja@localhost) by trudge.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id PAA06498; Mon, 7 Feb 2000 15:07:55 -0800 (PST) From: mja@trudge.engr.sgi.com (Mike Abbott) Message-Id: <200002072307.PAA06498@trudge.engr.sgi.com> Subject: Re: Binary of patched Apache To: tech@khouse.org (Tech Mail) Date: Mon, 7 Feb 2000 15:07:55 -0800 (PST) Cc: apache@oss.sgi.com In-Reply-To: from "Tech Mail" at Jan 31, 2000 01:42:27 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: > I'm having trouble compiling the patched apache 1.3.9, and I was wondering > if you could supply a binary distro of it. I'm sorry you're having trouble with my patches. If you have specific questions I will try to help. Unfortunately the Apache license prohibits me from distributing binary versions. -- Michael J. Abbott mja@sgi.com http://reality.sgi.com/mja From owner-apache@oss.sgi.com Tue Feb 8 02:24:56 2000 Received: by oss.sgi.com id ; Tue, 8 Feb 2000 02:24:46 -0800 Received: from word.sms.co.uk ([195.50.93.99]:12994 "HELO word.sms.co.uk") by oss.sgi.com with SMTP id ; Tue, 8 Feb 2000 02:24:22 -0800 Received: from krt9519141 (lan.ipc.co.uk) by word.sms.co.uk (5.x/sms) id AA26971; Tue, 8 Feb 2000 10:24:12 GMT Message-Id: <001901bf721e$ea891160$6bec280a@ipc.co.uk> Reply-To: "Lee Bolding" From: "Lee Bolding" To: Subject: problem... Date: Tue, 8 Feb 2000 10:26:09 -0000 Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0016_01BF721E.EA139340" X-Priority: 3 X-Msmail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-Mimeole: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: This is a multi-part message in MIME format. ------=_NextPart_000_0016_01BF721E.EA139340 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, Can anybody help me out with this? its probably a pretty dumb = question... I'm new to SGI machines, I've downloaded the apache 1.3.9 binary from = the oss distribution site, and installed it using the software manager.=20 It seems to be configured correctly - I have setup about 20 virtual = hosts. The machine (an Indy) is standalone, so all the VHosts have entries in = the HOSTS file with the IP address of the host. Whenever I try to connect to a VHost I get the standard SGI webpage that = says " " Is there a webserver already running that I need to disable? I've commented out httpd in the inetd.conf, and also removed webface = from the rc0.d am I missing something here? Thanks ------=_NextPart_000_0016_01BF721E.EA139340 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
Can anybody help me out with this? its = probably a=20 pretty dumb question...
 
I'm new to SGI machines, I've = downloaded the apache=20 1.3.9 binary from the oss distribution site, and installed it using the = software=20 manager.
 
It seems to be configured correctly - I = have setup=20 about 20 virtual hosts.
 
The machine (an Indy) is standalone, so = all the=20 VHosts have entries in the HOSTS file with the IP address of the=20 host.
 
Whenever I try to connect to a = VHost I get the=20 standard SGI webpage that says "<machine name> <user=20 accounts>"
 
Is there a webserver already running = that I need to=20 disable?
 
I've commented out httpd in the = inetd.conf, and=20 also removed webface from the rc0.d
 
am I missing something = here?
 
Thanks
------=_NextPart_000_0016_01BF721E.EA139340-- From owner-apache@oss.sgi.com Tue Feb 8 14:04:32 2000 Received: by oss.sgi.com id ; Tue, 8 Feb 2000 14:04:23 -0800 Received: from deliverator.sgi.com ([204.94.214.10]:24616 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 8 Feb 2000 14:03:57 -0800 Received: from trudge.engr.sgi.com (trudge.engr.sgi.com [163.154.38.51]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id NAA27718 for ; Tue, 8 Feb 2000 13:59:27 -0800 (PST) mail_from (mja@trudge.engr.sgi.com) Received: (from mja@localhost) by trudge.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id OAA08704; Tue, 8 Feb 2000 14:02:18 -0800 (PST) From: mja@trudge.engr.sgi.com (Mike Abbott) Message-Id: <200002082202.OAA08704@trudge.engr.sgi.com> Subject: Re: problem... To: lee.bolding@ukonline.co.uk Date: Tue, 8 Feb 2000 14:02:18 -0800 (PST) Cc: apache@oss.sgi.com In-Reply-To: <001901bf721e$ea891160$6bec280a@ipc.co.uk> from "Lee Bolding" at Feb 08, 2000 10:26:09 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: > Whenever I try to connect to a VHost I get the standard SGI webpage that = > says " " > > Is there a webserver already running that I need to disable? This sounds like the Outbox web server. Try running "chkconfig outbox off" as root and either rebooting or killing the relevant processes. If that doesn't work, we'll try something else. -- Michael J. Abbott mja@sgi.com http://reality.sgi.com/mja From owner-apache@oss.sgi.com Thu Feb 10 17:10:27 2000 Received: by oss.sgi.com id ; Thu, 10 Feb 2000 17:10:18 -0800 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:35196 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 10 Feb 2000 17:10:03 -0800 Received: from trudge.engr.sgi.com (trudge.engr.sgi.com [163.154.38.51]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id RAA05121 for ; Thu, 10 Feb 2000 17:12:50 -0800 (PST) mail_from (mja@trudge.engr.sgi.com) Received: (from mja@localhost) by trudge.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id RAA30579 for apache@oss.sgi.com; Thu, 10 Feb 2000 17:08:31 -0800 (PST) From: mja@trudge.engr.sgi.com (Mike Abbott) Message-Id: <200002110108.RAA30579@trudge.engr.sgi.com> Subject: Patch for Apache/1.3.11 available To: apache@oss.sgi.com Date: Thu, 10 Feb 2000 17:08:31 -0800 (PST) X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: The Accelerating Apache Project proudly announces the availability of its enhancements for Apache/1.3.11. http://oss.sgi.com/projects/apache/ -- Michael J. Abbott mja@sgi.com http://reality.sgi.com/mja/ From owner-apache@oss.sgi.com Wed Mar 1 16:04:11 2000 Received: by oss.sgi.com id ; Wed, 1 Mar 2000 16:04:01 -0800 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:15930 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 1 Mar 2000 16:03:43 -0800 Received: from trudge.engr.sgi.com (trudge.engr.sgi.com [163.154.38.51]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id QAA09760 for ; Wed, 1 Mar 2000 16:06:51 -0800 (PST) mail_from (mja@trudge.engr.sgi.com) Received: (from mja@localhost) by trudge.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id QAA97771 for apache@oss.sgi.com; Wed, 1 Mar 2000 16:02:13 -0800 (PST) From: mja@trudge.engr.sgi.com (Mike Abbott) Message-Id: <200003020002.QAA97771@trudge.engr.sgi.com> Subject: Follow-on patch 1 for Apache/1.3.11 available To: apache@oss.sgi.com Date: Wed, 1 Mar 2000 16:02:12 -0800 (PST) X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: Follow-on patch #1 for Apache/1.3.11 is now available from the Accelerating Apache Project. It includes a few minor performance enhancements and some tweaks suggested by AAP followers, and adds references to the AAP in several places to assist support. http://oss.sgi.com/projects/apache/patchinfo.html A port to Apache/1.3.12 is forthcoming. -- Michael J. Abbott mja@sgi.com http://reality.sgi.com/mja/ From owner-apache@oss.sgi.com Fri Mar 3 15:11:08 2000 Received: by oss.sgi.com id ; Fri, 3 Mar 2000 15:10:59 -0800 Received: from deliverator.sgi.com ([204.94.214.10]:3107 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Fri, 3 Mar 2000 15:10:34 -0800 Received: from trudge.engr.sgi.com (trudge.engr.sgi.com [163.154.38.51]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id PAA14476 for ; Fri, 3 Mar 2000 15:06:00 -0800 (PST) mail_from (mja@trudge.engr.sgi.com) Received: (from mja@localhost) by trudge.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id PAA98595 for apache@oss.sgi.com; Fri, 3 Mar 2000 15:09:04 -0800 (PST) From: mja@trudge.engr.sgi.com (Mike Abbott) Message-Id: <200003032309.PAA98595@trudge.engr.sgi.com> Subject: Patch for Apache/1.3.12 available To: apache@oss.sgi.com Date: Fri, 3 Mar 2000 15:09:04 -0800 (PST) X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: The Accelerating Apache Project announces the availability of its enhancements for Apache/1.3.12. http://oss.sgi.com/projects/apache/ -- Michael J. Abbott mja@sgi.com http://reality.sgi.com/mja/ From owner-apache@oss.sgi.com Mon Mar 6 00:06:50 2000 Received: by oss.sgi.com id ; Mon, 6 Mar 2000 00:06:40 -0800 Received: from gmariani.orconet.com ([216.98.236.82]:45831 "EHLO uluru.yavay.com") by oss.sgi.com with ESMTP id ; Mon, 6 Mar 2000 00:06:34 -0800 Received: from orconet.com (IDENT:gianni@localhost [127.0.0.1]) by uluru.yavay.com (8.9.3/8.9.3) with ESMTP id AAA30124; Mon, 6 Mar 2000 00:31:01 -0800 Message-ID: <38C36CC4.9998AE69@orconet.com> Date: Mon, 06 Mar 2000 00:31:00 -0800 From: Gianni Mariani X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.5-15smp i686) X-Accept-Language: en MIME-Version: 1.0 To: mja@sgi.com, apache@oss.sgi.com Subject: 10x patch for apache mod_ssl Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: I created a similar 10x patch for apache 1.3.12 with mod_ssl ... Anyone interested - I'll email it to you - it kinda works, I'm sure there are bugs. 121562k in size From owner-apache@oss.sgi.com Mon Mar 6 05:23:31 2000 Received: by oss.sgi.com id ; Mon, 6 Mar 2000 05:23:22 -0800 Received: from gmariani.orconet.com ([216.98.236.82]:60935 "EHLO uluru.yavay.com") by oss.sgi.com with ESMTP id ; Mon, 6 Mar 2000 05:22:58 -0800 Received: from orconet.com (IDENT:gianni@localhost [127.0.0.1]) by uluru.yavay.com (8.9.3/8.9.3) with ESMTP id FAA32604; Mon, 6 Mar 2000 05:47:23 -0800 Message-ID: <38C3B6EB.AE2B4629@orconet.com> Date: Mon, 06 Mar 2000 05:47:23 -0800 From: Gianni Mariani X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.5-15smp i686) X-Accept-Language: en MIME-Version: 1.0 To: mja@sgi.com, apache@oss.sgi.com Subject: Re: 10x patch for apache mod_ssl References: <38C36CC4.9998AE69@orconet.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: Gianni Mariani wrote: > I created a similar 10x patch for apache 1.3.12 with mod_ssl ... > > Anyone interested - I'll email it to you - it kinda works, I'm sure > there are bugs. > typo ...121562 bytes (bzip2ed) in size > > 121562k in size From owner-apache@oss.sgi.com Fri Mar 10 15:28:49 2000 Received: by oss.sgi.com id ; Fri, 10 Mar 2000 15:28:39 -0800 Received: from deliverator.sgi.com ([204.94.214.10]:40255 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Fri, 10 Mar 2000 15:28:19 -0800 Received: from nodin.corp.sgi.com (nodin.corp.sgi.com [192.26.51.193]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id PAA13426 for ; Fri, 10 Mar 2000 15:23:43 -0800 (PST) mail_from (mja@trudge.engr.sgi.com) Received: from trudge.engr.sgi.com (trudge.engr.sgi.com [163.154.38.51]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id PAA71019 for ; Fri, 10 Mar 2000 15:27:49 -0800 (PST) Received: (from mja@localhost) by trudge.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id PAA10366 for apache@oss.sgi.com; Fri, 10 Mar 2000 15:25:24 -0800 (PST) From: mja@trudge.engr.sgi.com (Mike Abbott) Message-Id: <200003102325.PAA10366@trudge.engr.sgi.com> Subject: Patch #1 for Apache/1.3.12 available To: apache@oss.sgi.com Date: Fri, 10 Mar 2000 15:25:24 -0800 (PST) X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: I have developed and released a cache for recent stat() results as part of my ongoing effort to improve Apache's performance for the SPECweb99 benchmark. It's now available as the Accelerating Apache Project's patch #1 for Apache/1.3.12. http://oss.sgi.com/projects/apache/ -- Michael J. Abbott mja@sgi.com http://reality.sgi.com/mja/ From owner-apache@oss.sgi.com Wed Mar 22 15:34:47 2000 Received: by oss.sgi.com id ; Wed, 22 Mar 2000 15:34:37 -0800 Received: from deliverator.sgi.com ([204.94.214.10]:37924 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 22 Mar 2000 15:34:22 -0800 Received: from nodin.corp.sgi.com (fddi-nodin.corp.sgi.com [198.29.75.193]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id PAA09612 for ; Wed, 22 Mar 2000 15:29:42 -0800 (PST) mail_from (mja@trudge.engr.sgi.com) Received: from trudge.engr.sgi.com (trudge.engr.sgi.com [163.154.38.51]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id PAA16930 for ; Wed, 22 Mar 2000 15:34:20 -0800 (PST) Received: (from mja@localhost) by trudge.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id PAA73299 for apache@oss.sgi.com; Wed, 22 Mar 2000 15:31:49 -0800 (PST) From: mja@trudge.engr.sgi.com (Mike Abbott) Message-Id: <200003222331.PAA73299@trudge.engr.sgi.com> Subject: Apache/2.0a1 for Irix To: apache@oss.sgi.com Date: Wed, 22 Mar 2000 15:31:48 -0800 (PST) X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: The Accelerating Apache Project announces the availability of a patch that enables Apache/2.0 alpha 1 to compile, run, and serve a page on Irix. This patch does not include any performance enhancements yet. http://oss.sgi.com/projects/apache/ -- Michael J. Abbott mja@sgi.com http://reality.sgi.com/mja/ From owner-apache@oss.sgi.com Thu Mar 30 12:11:26 2000 Received: by oss.sgi.com id ; Thu, 30 Mar 2000 12:11:16 -0800 Received: from crcst154.netaddress.usa.net ([204.68.24.154]:14287 "HELO convert rfc822-to-8bit crcst346.netaddress.usa.net") by oss.sgi.com with SMTP id ; Thu, 30 Mar 2000 12:10:57 -0800 Received: (qmail 5267 invoked from network); 30 Mar 2000 20:10:56 -0000 Received: from www0q.netaddress.usa.net (204.68.24.46) by outbound.netaddress.usa.net with SMTP; 30 Mar 2000 20:10:56 -0000 Received: (qmail 14653 invoked by uid 60001); 30 Mar 2000 20:10:55 -0000 Message-ID: <20000330201055.14652.qmail@www0q.netaddress.usa.net> Received: from 204.68.24.46 by www0q for [199.95.209.163] via web-mailer(M3.4.0.33) on Thu Mar 30 20:10:55 GMT 2000 Date: 30 Mar 00 15:10:55 EST From: ursus To: Mike Abbott Subject: Question (bug?) in 10xpatch-1.3.1 CC: apache@oss.sgi.com X-Mailer: USANET web-mailer (M3.4.0.33) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8BIT Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: Mike: I've been experimenting with your Apache 10xpatch-1.3.1 patchset and noticed that when running your patched version, the Last-Modified: timestamp on static files (e.g. .gif) seems to be the same as the request time, e.g. if I keep pulling the file, the Last-Modified: time seems to change along with that. I tried with QSC disabled and stat cache disabled/enabled (originally didn't even apply the 10xpatch-1.3.1-1 incremental patch), any combination doesn't change the observed result, Last-Modified: doesn't reflect the actual file's mtime. This is a problem as it tends to defeat any caching :( Also I tried not defining "SPEED_DAEMON" and not enabling FAST_TIME or any of the log-related defines (really just enabling QSC, NO_GRACEFUL, and STAT_CACHE). Still seeing the behaviour described above. Any ideas about this? Thanks in advance ... RW ____________________________________________________________________ Get free email and a permanent address at http://www.netaddress.com/?N=1 From owner-apache@oss.sgi.com Thu Mar 30 12:18:26 2000 Received: by oss.sgi.com id ; Thu, 30 Mar 2000 12:18:16 -0800 Received: from crcst159.netaddress.usa.net ([204.68.24.159]:62422 "HELO convert rfc822-to-8bit@orconY crcst353.netaddress.usa.net") by oss.sgi.com with SMTP id ; Thu, 30 Mar 2000 12:18:13 -0800 Received: (qmail 23327 invoked from network); 30 Mar 2000 20:18:08 -0000 Received: from nw178.netaddress.usa.net (204.68.24.78) by outbound.netaddress.usa.net with SMTP; 30 Mar 2000 20:18:08 -0000 Received: (qmail 23854 invoked by uid 60001); 30 Mar 2000 20:18:08 -0000 Message-ID: <20000330201808.23853.qmail@nw178.netaddress.usa.net> Received: from 204.68.24.78 by nw178 for [199.95.209.163] via web-mailer(M3.4.0.33) on Thu Mar 30 20:18:07 GMT 2000 Date: 30 Mar 00 15:18:07 EST From: ursus To: Mike Abbott Subject: Re: [Question (bug?) in 10xpatch-1.3.1] CC: apache@oss.sgi.com X-Mailer: USANET web-mailer (M3.4.0.33) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8BIT Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: ursus wrote: > I've been experimenting with your Apache 10xpatch-1.3.1 > patchset and noticed that when running your patched > version, the Last-Modified: timestamp on static files > (e.g. .gif) seems to be the same as the request time, > e.g. if I keep pulling the file, the Last-Modified: > time seems to change along with that. I found that by mmap'ing files, then the Last Modified: timestamp for the files in mmap are correct (but wrong for anything not explicitly mapped via mmapfile directive). RW ____________________________________________________________________ Get free email and a permanent address at http://www.netaddress.com/?N=1 From owner-apache@oss.sgi.com Thu Mar 30 15:03:31 2000 Received: by oss.sgi.com id ; Thu, 30 Mar 2000 15:03:11 -0800 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:63102 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 30 Mar 2000 15:02:48 -0800 Received: from trudge.engr.sgi.com (trudge.engr.sgi.com [163.154.38.51]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id PAA07929 for ; Thu, 30 Mar 2000 15:06:28 -0800 (PST) mail_from (mja@trudge.engr.sgi.com) Received: (from mja@localhost) by trudge.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id PAA27880; Thu, 30 Mar 2000 15:01:29 -0800 (PST) From: mja@trudge.engr.sgi.com (Mike Abbott) Message-Id: <200003302301.PAA27880@trudge.engr.sgi.com> Subject: Re: Question (bug?) in 10xpatch-1.3.1 To: ursus@usa.net (ursus) Date: Thu, 30 Mar 2000 15:01:28 -0800 (PST) Cc: apache@oss.sgi.com In-Reply-To: <20000330201055.14652.qmail@www0q.netaddress.usa.net> from "ursus" at Mar 30, 2000 03:10:55 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: Sorry for the delayed response. I've been having way too much fun working on Apache/2.0a1. > the Last-Modified: timestamp on static files > (e.g. .gif) seems to be the same as the request time, You are correct, this is a bug I introduced. I will post the fix as 10xpatch-1.3.12-2 right away. Thank you. You also wrote (under separate cover): > Also I couldn't get QSC to work (I think), even though > I've specified USE_QSC as well as SPEED_DAEMON in configure > as well as using QSC on in httpd.conf and mmapfile on a > few test objects ... httpd -L reports "!QSC" or something, > and I can't get anything from http://server/server-status?qsc If httpd -L says "Ignored because !USE_QSC" that means USE_QSC is not defined and the QSC is not compiled into your server. Are you sure you're defining it (or SPEED_DAEMON) the right way? I use: $ CFLAGS="-DSPEED_DAEMON" configure for sh and % env CFLAGS="-DSPEED_DAEMON" configure for csh (among other flags and options). Also, you need to pass ?qsc to the server-status page only when you are setting a value, as in ?qsc=full or ?qsc=quick. The status page always includes some QSC info (as long as USE_QSC is defined). -- Michael J. Abbott mja@sgi.com http://reality.sgi.com/mja/ From owner-apache@oss.sgi.com Thu Mar 30 15:21:51 2000 Received: by oss.sgi.com id ; Thu, 30 Mar 2000 15:21:42 -0800 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:50436 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 30 Mar 2000 15:21:34 -0800 Received: from nodin.corp.sgi.com (fddi-nodin.corp.sgi.com [198.29.75.193]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id PAA04163 for ; Thu, 30 Mar 2000 15:25:11 -0800 (PST) mail_from (mja@trudge.engr.sgi.com) Received: from trudge.engr.sgi.com (trudge.engr.sgi.com [163.154.38.51]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id PAA96680 for ; Thu, 30 Mar 2000 15:21:30 -0800 (PST) Received: (from mja@localhost) by trudge.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id PAA28967 for apache@oss.sgi.com; Thu, 30 Mar 2000 15:18:57 -0800 (PST) From: mja@trudge.engr.sgi.com (Mike Abbott) Message-Id: <200003302318.PAA28967@trudge.engr.sgi.com> Subject: Patch #2 for Apache/1.3.12 available To: apache@oss.sgi.com Date: Thu, 30 Mar 2000 15:18:57 -0800 (PST) X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: An individual known to me only as ursus@usa.net found a bug in the 10x patches. The fix is now available as the Accelerating Apache Project's patch #2 for Apache/1.3.12. http://oss.sgi.com/projects/apache/ -- Michael J. Abbott mja@sgi.com http://reality.sgi.com/mja/ From owner-apache@oss.sgi.com Fri Mar 31 10:57:34 2000 Received: by oss.sgi.com id ; Fri, 31 Mar 2000 10:57:18 -0800 Received: from crcst158.netaddress.usa.net ([204.68.24.158]:44762 "HELO convert =?ISO-8859-1?Q?rfc822-to-8bit822;td=B1q?= crcst351.netaddress.usa.net") by oss.sgi.com with SMTP id ; Fri, 31 Mar 2000 10:57:11 -0800 Received: (qmail 25433 invoked from network); 31 Mar 2000 18:57:08 -0000 Received: from nw173.netaddress.usa.net (204.68.24.73) by outbound.netaddress.usa.net with SMTP; 31 Mar 2000 18:57:08 -0000 Received: (qmail 9016 invoked by uid 60001); 31 Mar 2000 18:57:08 -0000 Message-ID: <20000331185708.9015.qmail@nw173.netaddress.usa.net> Received: from 204.68.24.73 by nw173 for [199.95.209.163] via web-mailer(M3.4.0.33) on Fri Mar 31 18:57:07 GMT 2000 Date: 31 Mar 00 13:57:07 EST From: ursus To: Mike Abbott Subject: RE: [Apache 10xpatch-1.3.1-2] CC: apache@oss.sgi.com X-Mailer: USANET web-mailer (M3.4.0.33) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8BIT Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: Mike Abbott wrote: > Sorry for the delayed response. > I've been having way too much fun working on Apache/2.0a1. No problem, thanks for the helpful response+patch! >> Last-Modified: timestamp on static files >> seems to be the same as the request time, > > You are correct, this is a bug I introduced. > I will post the fix as 10xpatch-1.3.12-2 right away. I applied your incremental patch -2 and all is well. About the QSC problem I was having, it was my fault (was specifying OPTIM= string wrong in the RPM .spec, when I fixed the configure line it works as you said). I have some other compile questions about your patch. I'm trying to use "SINGLE_LISTEN_UNSERIALIZED_ACCEPT" as I'm running a dual-processor (2xPIII-500 Xeon) box and want to avoid the performance hit that serialization incurs. Also I read somewhere that not using the above define hurts latency to some degree (latency is important to my application)?. The problem comes in when I try to compile with this define, the build fails complaining about dynamic linker functions not defined or something. When I add "-ldl" to the build options (EXTRA_CFLAGS) then the compilation complains that dl isn't used for most objects, except now httpd finally builds clean (this appears to use dl). I think that Apache has it's own DL functions, so maybe this isn't the proper fix? (to link in the Linux -ldl). Here are the relevant sections from `httpd -V' output: Server compiled with.... -D HAVE_MMAP -D HAVE_SHMGET -D USE_SHMGET_SCOREBOARD -D USE_MMAP_FILES -D MMAP_SEGMENT_SIZE=32768 -D USE_FCNTL_SERIALIZED_ACCEPT -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D USE_QSC -D QSC_HASH_SIZE=32768 -D QSC_MAX_SIZE=4194304 -D QSC_HEADER_GRAIN=32 -D FAST_TIME -D BUFFERED_LOGS -D LOG_BUFSIZE=65500 -D PIPE_BUF=4096 -D NO_GRACEFUL -D USE_QUICK_LOG -D USE_STAT_CACHE -D STAT_CACHE_SIZE=32768 -D STAT_CACHE_TIME=300 -D STAT_CACHE_PATHLEN=128 Is having the "UNSERIALIZED" and "FNCTL" stuff together a bad combination? Not sure where the FNCTL is defined. My webserver has 2GByte memory (Linux 2.2.13+bigmem) so I'm not sure whether the above QSC/STAT_CACHE settings are appropriate? I have ~40k active objects that average ~10k (.gif files) (according to Squid which I tested -- and decided against due to latency issues -- previously on the same servers). Another idea I wanted to bring up is the possiblity for an automatic or auto-adapting MMAP function aka boa seems to have, in that you don't need to explicitly mmapfile (which is a major pain with >40k objects, and the object pool changing quite often.) I really wanted to use something like Squid cache in reverse (httpd accellerator mode) to front-end apache but the latency was like 1 second when I tested and it was quite a bit slower than Apache even. Finally is there a way to run 10x-patched Apache with the mod_ssl add-ons? Someone on this list mentioned they'd had "limited" success on this? Anyway glad to see someone's taken Dean Gaudet's original work and brought it to the "next level"; seems many people have 'given up' on Apache performance and push boa, phttpd, etc as "the solution" to Apache when I find I still need to features Apache provides. PS: I see you are a Cornell alumnus ... "Go Big Red" :] (Bio major, ALS `98) -- ursus@usa.net ____________________________________________________________________ Get free email and a permanent address at http://www.netaddress.com/?N=1 From owner-apache@oss.sgi.com Fri Mar 31 11:16:26 2000 Received: by oss.sgi.com id ; Fri, 31 Mar 2000 11:16:11 -0800 Received: from gmariani.orconet.com ([216.98.236.82]:18444 "EHLO uluru.yavay.com") by oss.sgi.com with ESMTP id ; Fri, 31 Mar 2000 11:15:48 -0800 Received: from orconet.com (IDENT:gianni@localhost [127.0.0.1]) by uluru.yavay.com (8.9.3/8.9.3) with ESMTP id LAA10046; Fri, 31 Mar 2000 11:35:46 -0800 Message-ID: <38E4FE12.1D832F65@orconet.com> Date: Fri, 31 Mar 2000 11:35:46 -0800 From: Gianni Mariani X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.5-15smp i686) X-Accept-Language: en MIME-Version: 1.0 To: ursus CC: Mike Abbott , apache@oss.sgi.com Subject: Re: [Apache 10xpatch-1.3.1-2] References: <20000331185708.9015.qmail@nw173.netaddress.usa.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: ursus wrote: > Mike Abbott wrote: > .. > Finally is there a way to run 10x-patched Apache > with the mod_ssl add-ons? Someone on this list > mentioned they'd had "limited" success on this? 'twas me ... not looked at it since my initial attempt. There are certainly conflicts between mod_ssl and 10x. From owner-apache@oss.sgi.com Wed Apr 5 22:22:46 2000 Received: by oss.sgi.com id ; Wed, 5 Apr 2000 22:22:27 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:314 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 5 Apr 2000 22:21:58 -0700 Received: from nodin.corp.sgi.com (nodin.corp.sgi.com [192.26.51.193]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id WAA09455 for ; Wed, 5 Apr 2000 22:25:45 -0700 (PDT) mail_from (mja@trudge.engr.sgi.com) Received: from trudge.engr.sgi.com (trudge.engr.sgi.com [163.154.38.51]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id WAA23138 for ; Wed, 5 Apr 2000 22:21:57 -0700 (PDT) Received: (from mja@localhost) by trudge.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id WAA99154; Wed, 5 Apr 2000 22:19:24 -0700 (PDT) From: mja@trudge.engr.sgi.com (Mike Abbott) Message-Id: <200004060519.WAA99154@trudge.engr.sgi.com> Subject: Re: [Apache 10xpatch-1.3.1-2] To: ursus@usa.net (ursus) Date: Wed, 5 Apr 2000 22:19:23 -0700 (PDT) Cc: apache@oss.sgi.com In-Reply-To: <20000331185708.9015.qmail@nw173.netaddress.usa.net> from "ursus" at Mar 31, 2000 01:57:07 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: > I'm trying to use "SINGLE_LISTEN_UNSERIALIZED_ACCEPT" > ... > Is having the "UNSERIALIZED" and "FNCTL" stuff together > a bad combination? Not sure where the FNCTL is defined. SINGLE_LISTEN_UNSERIALIZED_ACCEPT and USE_FCNTL_SERIALIZED_ACCEPT can coexist. The former means it's safe for different Apache child processes to accept() simultaneously from the same socket at the same time if there is only one socket (e.g., zero or one Listen directives). The latter means, if there is more than one socket, Apache must serialize accept() calls and fcntl() is the way to do it. See htdocs/manual/misc/perf-tuning.html#acceptserialization in your patched Apache tree for an explanation of all this. > When I add "-ldl" > to the build options (EXTRA_CFLAGS) then the compilation > complains that dl isn't used for most objects, except > now httpd finally builds clean (this appears to use dl). Try moving the "-ldl" from the compiler flags (EXTRA_CFLAGS) to the list of libraries the linker needs (EXTRA_LIBS). It's really a linker option. > -D USE_QSC > -D QSC_HASH_SIZE=32768 > -D QSC_MAX_SIZE=4194304 > -D QSC_HEADER_GRAIN=32 > ... > -D USE_STAT_CACHE > -D STAT_CACHE_SIZE=32768 > -D STAT_CACHE_TIME=300 > -D STAT_CACHE_PATHLEN=128 > > My webserver has 2GByte memory (Linux 2.2.13+bigmem) > so I'm not sure whether the above QSC/STAT_CACHE > settings are appropriate? > ... > I have ~40k active objects With that much memory and that many files to cache you could stand to increase QSC_MAX_SIZE. Watch the "Memory use / total" line on the server-status page. You should probably double QSC_HASH_SIZE too, although for diminishing returns -- but again only if you're using the QSC for all of them. Read htdocs/manual/qsc.html (especially at #status) in your patched Apache tree for what all the stats mean, how to see them, and how to tune your server to make the QSC run smoother. Your STAT_CACHE_SIZE seems big. The stat cache is really meant to be small, and if most of the files are in the QSC the stat cache isn't doing much anyway. See htdocs/manual/misc/perf-mja.html#statcache The rest look OK. > Another idea I wanted to bring up is the possiblity > for an automatic or auto-adapting MMAP function aka boa > seems to have, in that you don't need to explicitly > mmapfile (which is a major pain with >40k objects, > and the object pool changing quite often.) You're not the only one. There is a tradeoff though, as always: Maintaining the cache in software slows things down. An adaptive mod_cache is available in ftp://ftp.apache.org/dist/contrib/modules/1.3/apache-contrib-1.0.8.tar.gz but I have not used it and I'm told it's buggy. > Finally is there a way to run 10x-patched Apache > with the mod_ssl add-ons? Someone on this list > mentioned they'd had "limited" success on this? A few people, including myself, have applied both the 10x patches and the mod_ssl patches. Apply 10x first, then mod_ssl. There are conflicts you must resolve manually. I don't know of a good way to help everyone who wants to use both: I don't want to distribute a combined patch because that might ruffle feathers over in mod_ssl land, but there are a couple of places in the combined tree that need special attention. Anyone have any ideas? > ursus@usa.net -- Michael J. Abbott mja@sgi.com http://reality.sgi.com/mja/ From owner-apache@oss.sgi.com Mon Apr 17 20:51:16 2000 Received: by oss.sgi.com id ; Mon, 17 Apr 2000 20:50:56 -0700 Received: from mailbox.engr.sc.edu ([129.252.22.203]:43783 "EHLO mailbox.engr.sc.edu") by oss.sgi.com with ESMTP id ; Mon, 17 Apr 2000 20:50:48 -0700 Received: by mailbox.engr.sc.edu with Internet Mail Service (5.5.2448.0) id ; Mon, 17 Apr 2000 23:48:06 -0400 Message-ID: From: "Gruen, Robert" To: "'apache@oss.sgi.com'" Subject: Accelerator Patches for Apache on FreeBSD Date: Mon, 17 Apr 2000 23:48:00 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: Can these patches be applied to Apache for FreeBSD? From owner-apache@oss.sgi.com Tue Apr 18 17:21:22 2000 Received: by oss.sgi.com id ; Tue, 18 Apr 2000 17:21:02 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:41548 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 18 Apr 2000 17:20:46 -0700 Received: from trudge.engr.sgi.com (trudge.engr.sgi.com [163.154.38.51]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id RAA20409 for ; Tue, 18 Apr 2000 17:16:01 -0700 (PDT) mail_from (mja@trudge.engr.sgi.com) Received: (from mja@localhost) by trudge.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id RAA56096 for apache@oss.sgi.com; Tue, 18 Apr 2000 17:19:27 -0700 (PDT) From: mja@trudge.engr.sgi.com (Mike Abbott) Message-Id: <200004190019.RAA56096@trudge.engr.sgi.com> Subject: Re: Accelerator Patches for Apache on FreeBSD To: apache@oss.sgi.com Date: Tue, 18 Apr 2000 17:19:27 -0700 (PDT) In-Reply-To: from "Gruen, Robert" at Apr 17, 2000 11:48:00 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: > Can these patches be applied to Apache for FreeBSD? http://oss.sgi.com/projects/apache/faq.html#Q7 I don't know the answer. The only major problem should be porting qsc_cas(). If you get the patches working on FreeBSD please contribute your modifications to the project so others may benefit. -- Michael J. Abbott mja@sgi.com http://reality.sgi.com/mja/ From owner-apache@oss.sgi.com Fri May 12 02:54:30 2000 Received: by oss.sgi.com id ; Fri, 12 May 2000 09:54:21 +0000 Received: from rmx602-mta.mail.com ([165.251.48.51]:59273 "EHLO rmx602-mta.mail.com") by oss.sgi.com with ESMTP id ; Fri, 12 May 2000 09:54:07 +0000 Received: from web312-mc.mail.com (web312-mc.mail.com [165.251.48.170]) by rmx602-mta.mail.com (8.9.3/8.9.3) with SMTP id FAA14816 for ; Fri, 12 May 2000 05:54:02 -0400 (EDT) Message-ID: <384412241.958125242973.JavaMail.root@web312-mc.mail.com> Date: Fri, 12 May 2000 05:54:02 -0400 (EDT) From: johny jugianto To: apache@oss.sgi.com Subject: question Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: mail.com X-Originating-IP: 202.137.2.146 Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: How to make redirect in apache ? When apache (httpd) is called from the browser, it's read index.html. How can i make it read my script or another file ? Thank You ______________________________________________ FREE Personalized Email at Mail.com Sign up at http://www.mail.com/?sr=signup From owner-apache@oss.sgi.com Fri May 12 15:20:52 2000 Received: by oss.sgi.com id ; Fri, 12 May 2000 22:20:33 +0000 Received: from smtp11.bellglobal.com ([204.101.251.53]:33986 "EHLO smtp11.bellglobal.com") by oss.sgi.com with ESMTP id ; Fri, 12 May 2000 22:20:05 +0000 Received: from sympatico.ca (HSE-Toronto-ppp134145.sympatico.ca [64.228.81.184]) by smtp11.bellglobal.com (8.8.5/8.8.5) with ESMTP id SAA00411 for ; Fri, 12 May 2000 18:26:09 -0400 (EDT) Message-ID: <391C847A.C5748192@sympatico.ca> Date: Fri, 12 May 2000 18:23:54 -0400 From: Luke Reeves Organization: Neurotech X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: apache@oss.sgi.com Subject: Re: question References: <384412241.958125242973.JavaMail.root@web312-mc.mail.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: John, just change the line in your Apache configuration file that reads: DirectoryIndex index.html index.htm And just tack on whatever filename you want to be the default. Later. Luke Reeves, Neurotech luke@submail.NOSPAM.net http://www.submail.net/ http://www.neuro-tech.net/ johny jugianto wrote: > How to make redirect in apache ? > When apache (httpd) is called from the browser, it's read index.html. > How can i make it read my script or another file ? > Thank You From owner-apache@oss.sgi.com Wed May 17 03:04:04 2000 Received: by oss.sgi.com id ; Wed, 17 May 2000 10:03:45 +0000 Received: from indyio.rz.uni-sb.de ([134.96.7.3]:24126 "EHLO indyio.rz.uni-sb.de") by oss.sgi.com with ESMTP id ; Wed, 17 May 2000 10:03:16 +0000 Received: from mars.rz.uni-sb.de (ns0.rz.uni-sb.de [134.96.7.5]) by indyio.rz.uni-sb.de (8.9.3/8.9.3) with ESMTP id MAA29718; Wed, 17 May 2000 12:03:13 +0200 (CST) Received: from cs.uni-sb.de (cs.uni-sb.de [134.96.254.254]) by mars.rz.uni-sb.de (8.8.8/8.8.4/8.8.2) with ESMTP id MAA03768; Wed, 17 May 2000 12:03:12 +0200 (CST) Received: from wjpserver.cs.uni-sb.de (wjpserver.cs.uni-sb.de [134.96.247.42]) by cs.uni-sb.de (8.10.1/2000040900) with ESMTP id MAA13195; Wed, 17 May 2000 12:01:55 +0200 (CEST) Received: from wurzelausix.CS.Uni-SB.DE (wurzelausix [134.96.247.1]) by wjpserver.cs.uni-sb.de (8.9.3/8.9.3/wjp-SVR4/1999052600) with ESMTP id MAA25216; Wed, 17 May 2000 12:01:55 +0200 (MET DST) Received: by wurzelausix.CS.Uni-SB.DE with ESMTP; Wed, 17 May 2000 12:01:52 +0200 (CEST) Message-Id: <200005171001.MAA07178@wurzelausix.CS.Uni-SB.DE> Date: Wed, 17 May 2000 12:01:50 +0200 (CEST) From: Alexander Leidinger Subject: Patches & FreeBSD To: apache@oss.sgi.com cc: gruen@engr.sc.edu MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: Hi Robert, hi SGI-Apache list, I'm browsing the archives of the SGI Apache mailinglist and found the question about the patches and FreeBSD. Yes, these patches can be applied to "Apache for FreeBSD" (I've tried only 10xpatch-1.3.12-0 a while ago). It's the same Apache as for every other OS. If you build Apache from the FreeBSD ports collection cd into the apropriate(sp?) directory and type "make patch" to apply a few FreeBSD patches (non FreeBSD users interested in the patches should look into http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/www/, just click at the apache port you are interested in and have a look into the patches subdir). After this cd into the "work" directory and apply the patches from SGI (as described by SGI), cd back into the main Apache port directory and continue with the make process. The qsc_cas function needs only porting if you decide to use qsc (compile it) AND you are using FreeBSD-alpha, qsc and FreeBSD-x86 works (read: compiles and didn't seqfault if you are not using the qsc functionality. I haven't tested qsc, but I would be surprised if it didn't work). Bye, Alexander. P.S.: mja: I'm the one who send in a patch for "#ifdef LINUX" -> "#ifdef x86" (paraphrased) in the qsc_cas code (10xpatch-1.3.9?). I thought I've noted the fact I compiled it with FreeBSD, but I don't remember if I really sayd it. -- Actually, a more important date is January 1, 2000, when many computer programs across the world could break. Richard W. Stevens, Advanced Programming in the UNIX Environment, _1993_ http://www.Leidinger.net A.Leidinger @ WJPServer.CS.Uni-SB.de From owner-apache@oss.sgi.com Wed May 17 09:29:47 2000 Received: by oss.sgi.com id ; Wed, 17 May 2000 16:29:38 +0000 Received: from mout0.freenet.de ([194.97.50.131]:53515 "EHLO mout0.freenet.de") by oss.sgi.com with ESMTP id ; Wed, 17 May 2000 16:29:21 +0000 Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout0.freenet.de with esmtp (Exim 3.14 #3) id 12s6hC-0001Sk-00 for apache@oss.sgi.com; Wed, 17 May 2000 18:29:18 +0200 Received: from [213.6.59.88] (helo=Magelan.Leidinger.net) by mx3.freenet.de with esmtp (Exim 3.14 #3) id 12s6hC-0005uL-00 for apache@oss.sgi.com; Wed, 17 May 2000 18:29:18 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.9.3/8.9.3) with ESMTP id SAA85443 for ; Wed, 17 May 2000 18:25:42 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200005171625.SAA85443@Magelan.Leidinger.net> Date: Wed, 17 May 2000 18:25:41 +0200 (CEST) From: Alexander Leidinger Subject: 10xpatch & FreeBSD To: apache@oss.sgi.com MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: Hi, I tried again to use 10xpatch-1.3.12-[0-2] with the FreeBSD port (as described in my last mail). I had to add "|| defined(__i386__)" into the conditional in src/main/qsc.c at line 185 (the conditional just before the qsc_cas function): --- qsc.c.org Wed May 17 17:46:43 2000 +++ qsc.c Wed May 17 17:47:40 2000 @@ -182,8 +182,8 @@ # define qsc_cas(p, oldval, newval) __compare_and_swap(p, oldval, newval) # endif #elif defined(__GNUC__) && __GNUC__ >= 2 && \ - (defined(__i486__) || defined(__i586__) || defined(__i686__) || \ - defined(__pentium__) || defined(__pentiumpro__)) + (defined(__i386__) || defined(__i486__) || defined(__i586__) || \ + defined(__i686__) || defined(__pentium__) || defined(__pentiumpro__)) /* * Use asm statement copied from Linux libpthread's __compare_and_swap(). */ To enable the QSC, add "-DUSE_QSC" to the CFLAGS line in the generated Makefile.inc in the ports directory. Bye, Alexander. -- 0 and 1. Now what could be so hard about that? http://www.Leidinger.net Alexander+Home @ Leidinger.net GPG fingerprint = 7423 F3E6 3A7E B334 A9CC B10A 1F5F 130A A638 6E7E From owner-apache@oss.sgi.com Wed May 17 22:21:26 2000 Received: by oss.sgi.com id ; Thu, 18 May 2000 05:21:06 +0000 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:3867 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 18 May 2000 05:20:40 +0000 Received: from trudge.engr.sgi.com (trudge.engr.sgi.com [163.154.38.51]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id WAA06731 for ; Wed, 17 May 2000 22:25:10 -0700 (PDT) mail_from (mja@trudge.engr.sgi.com) Received: (from mja@localhost) by trudge.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id WAA71408; Wed, 17 May 2000 22:19:26 -0700 (PDT) From: mja@trudge.engr.sgi.com (Mike Abbott) Message-Id: <200005180519.WAA71408@trudge.engr.sgi.com> Subject: Re: 10xpatch & FreeBSD To: Alexander@Leidinger.net (Alexander Leidinger) Date: Wed, 17 May 2000 22:19:26 -0700 (PDT) Cc: apache@oss.sgi.com In-Reply-To: <200005171625.SAA85443@Magelan.Leidinger.net> from "Alexander Leidinger" at May 17, 2000 06:25:41 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: > I had to add "|| defined(__i386__)" into the > conditional in src/main/qsc.c at line 185 (the conditional just before > the qsc_cas function): This is incorrect. The cmpxchg instruction exists only on i486 and later processors. Using this instruction on an i386 will cause an illegal instruction trap. Perhaps you need to define __i486__ or __i586__ or __i686__ etc. during your build. I did, on Linux. -- Michael J. Abbott mja@sgi.com http://reality.sgi.com/mja/ From owner-apache@oss.sgi.com Thu May 18 07:46:42 2000 Received: by oss.sgi.com id ; Thu, 18 May 2000 14:46:32 +0000 Received: from mout0.freenet.de ([194.97.50.131]:5637 "EHLO mout0.freenet.de") by oss.sgi.com with ESMTP id ; Thu, 18 May 2000 14:46:20 +0000 Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout0.freenet.de with esmtp (Exim 3.14 #3) id 12sRZ4-0005P8-00; Thu, 18 May 2000 16:46:18 +0200 Received: from [213.6.42.25] (helo=Magelan.Leidinger.net) by mx3.freenet.de with esmtp (Exim 3.14 #3) id 12sRZ3-0001bk-00; Thu, 18 May 2000 16:46:17 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.9.3/8.9.3) with ESMTP id PAA04272; Thu, 18 May 2000 15:45:41 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200005181345.PAA04272@Magelan.Leidinger.net> Date: Thu, 18 May 2000 15:45:40 +0200 (CEST) From: Alexander Leidinger Subject: Re: 10xpatch & FreeBSD To: mja@trudge.engr.sgi.com cc: apache@oss.sgi.com In-Reply-To: <200005180519.WAA71408@trudge.engr.sgi.com> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: On 17 May, Mike Abbott wrote: >> I had to add "|| defined(__i386__)" into the >> conditional in src/main/qsc.c at line 185 (the conditional just before >> the qsc_cas function): > > This is incorrect. The cmpxchg instruction exists only on i486 and > later processors. Using this instruction on an i386 will cause an > illegal instruction trap. Perhaps you need to define __i486__ or > __i586__ or __i686__ etc. during your build. I did, on Linux. It seems gcc has a bug regarding the definition of those defines. A litte test program: ---snip--(t.c)- #include int main(void) { #ifdef __i386__ printf("i386: %d\n", __i386__); #endif #ifdef __i486__ printf("i486: %d\n", __i486__); #endif #ifdef __i586__ printf("i586: %d\n", __i586__); #endif #ifdef __i686__ printf("i686: %d\n", __i686__); #endif #ifdef __pentium__ printf("pentium: %d\n", __pentium__); #endif #ifdef __pentiumpro__ printf("pentiumpro: %d\n" __pentiumpro__); #endif } ---snip--- The tests (the first CFLAGS setting is a subset of the CFLAGS setting I've used to compile apache+10xpatch): ---snip--- (23) netchild@ttyp1% CFLAGS=-march=pentiumpro gmake t cc -march=pentiumpro t.c -o t (24) netchild@ttyp1% ./t i386: 1 (27) netchild@ttyp1% CFLAGS=-m486 gmake t cc -m486 t.c -o t (28) netchild@ttyp1% ./t i386: 1 i486: 1 (31) netchild@ttyp1% CFLAGS=-mpentium gmake t cc -mpentium t.c -o t (32) netchild@ttyp1% ./t i386: 1 i586: 1 pentium: 1 (34) netchild@ttyp1% CFLAGS=-march=pentium gmake t cc -march=pentium t.c -o t (35) netchild@ttyp1% ./t i386: 1 >From the info page of gcc (order rearranged to explain the above tests): ---snip--- `-march=CPU TYPE' Generate instructions for the machine type CPU TYPE. The choices for CPU TYPE are the same as for `-mcpu'. Moreover, specifying `-march=CPU TYPE' implies `-mcpu=CPU TYPE'. `-m386' `-m486' `-mpentium' `-mpentiumpro' Synonyms for -mcpu=i386, -mcpu=i486, -mcpu=pentium, and -mcpu=pentiumpro respectively. These synonyms are deprecated. `-mcpu=CPU TYPE' Assume the defaults for the machine type CPU TYPE when scheduling instructions. The choices for CPU TYPE are: `i386' `i486' `i586' `i686' `pentium' `pentiumpro' `k6' While picking a specific CPU TYPE will schedule things appropriately for that particular chip, the compiler will not generate any code that does not run on the i386 without the `-march=CPU TYPE' option being used. `i586' is equivalent to `pentium' and `i686' is equivalent to `pentiumpro'. `k6' is the AMD chip as opposed to the Intel ones. ---snip--- It seems the conditional upon which the i386 qsc_cas function is build isn't a good solution because gcc (2.95.2 19991024) seems to have bugs regarding the definition of the i?86 defines. IMHO it isn't good practice to define a __i?86__ define by myself, they are reserved defines of the compiler, so I propose the following patches: ---snip--- --- qsc.c.org Thu May 18 15:22:35 2000 +++ qsc.c Thu May 18 15:23:25 2000 @@ -181,9 +181,7 @@ */ # define qsc_cas(p, oldval, newval) __compare_and_swap(p, oldval, newval) # endif -#elif defined(__GNUC__) && __GNUC__ >= 2 && \ - (defined(__i486__) || defined(__i586__) || defined(__i686__) || \ - defined(__pentium__) || defined(__pentiumpro__)) +#elif defined(__GNUC__) && __GNUC__ >= 2 && defined(QSC_IA32_CAS) /* * Use asm statement copied from Linux libpthread's __compare_and_swap(). */ ---snip--- ---snip--- --- qsc.html.org Thu May 18 15:24:30 2000 +++ qsc.html Thu May 18 15:33:43 2000 @@ -142,6 +142,12 @@ $ make

+On x86 processors (x >= 4) you have to use:

+
+  $ CFLAGS="-DUSE_QSC -DQSC_IA32_CAS" configure --enable-module=mmap_static
+  $ make
+
+

(The QSC is an enhancement to core Apache, while mmap_static is an Apache module.) There are also advanced options to controlling QSC behavior, described below.

@@ -600,7 +606,7 @@

Advanced Options

-All of the following are compile-time options. The first two must be +All of the following are compile-time options. The first 3 must be defined manually. The rest are defined in the QSC source code.

@@ -610,6 +616,14 @@ Default: USE_QSC is not defined so the QSC is disabled. + +
QSC_IA32_CAS

+ Needed on the ia32 architecture (x86 processors, x >= 4) + for an atomic compare and swap function.

+ Default: QSC_UA32_CAS is not defined so you + get an error on x86 processors. Unfortunally a bug in + gcc disables the possibility to detect the processor type + at compile time.

Debugging / Additional Information

---snip--- > -- ^ It seems you have forgotten to add a space after the two dashes. > Michael J. Abbott mja@sgi.com http://reality.sgi.com/mja/ Bye, Alexander. -- The dark ages were caused by the Y1K problem. http://www.Leidinger.net Alexander+Home @ Leidinger.net GPG fingerprint = 7423 F3E6 3A7E B334 A9CC B10A 1F5F 130A A638 6E7E From owner-apache@oss.sgi.com Fri Jul 7 15:58:32 2000 Received: by oss.sgi.com id ; Fri, 7 Jul 2000 15:58:13 -0700 Received: from [209.85.23.204] ([209.85.23.204]:15883 "EHLO mail.somers.net") by oss.sgi.com with ESMTP id ; Fri, 7 Jul 2000 15:57:44 -0700 Received: from somers.net (calnet3-33.gtecablemodem.com [207.175.226.33]) by mail.somers.net (8.9.3/8.9.3) with ESMTP id PAA80399 for ; Fri, 7 Jul 2000 15:55:16 -0700 (PDT) (envelope-from rick@somers.net) Message-ID: <39665F71.84F5D39A@somers.net> Date: Fri, 07 Jul 2000 15:53:37 -0700 From: "rick - SomersNet, Inc." Organization: 1 2 3 Host it! - A Division of SomersNet, Inc. X-Mailer: Mozilla 4.51 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: apache@oss.sgi.com Subject: how to? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: Hello, I am interested in using this patch, however I have never used a patch before so I am not 100% sure what to do. I downloaded the patches into the apache_1.3.11/src and ran patch < 10xpatch-1.3.11-0 then it asked me what file to patch, and I have not a clue so I told it httpd and then got errors.. and then it asked me again what file to patch.. So what file(s) do I need to apply the patch to? Thanks in advance... :) ..rick From owner-apache@oss.sgi.com Sat Jul 8 08:00:27 2000 Received: by oss.sgi.com id ; Sat, 8 Jul 2000 08:00:17 -0700 Received: from mout1.freenet.de ([194.97.50.132]:48286 "EHLO mout1.freenet.de") by oss.sgi.com with ESMTP id ; Sat, 8 Jul 2000 07:59:55 -0700 Received: from [194.97.50.138] (helo=mx0.freenet.de) by mout1.freenet.de with esmtp (Exim 3.15 #1) id 13Aw5K-00083Q-00; Sat, 08 Jul 2000 17:00:02 +0200 Received: from a35b2.pppool.de ([213.6.53.178] helo=Magelan.Leidinger.net) by mx0.freenet.de with esmtp (Exim 3.15 #1) id 13Aw5G-0002oE-00; Sat, 08 Jul 2000 17:00:00 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.9.3/8.9.3) with ESMTP id PAA10231; Sat, 8 Jul 2000 15:28:29 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200007081328.PAA10231@Magelan.Leidinger.net> Date: Sat, 8 Jul 2000 15:28:27 +0200 (CEST) From: Alexander Leidinger Subject: Re: how to? To: rick@somers.net cc: apache@oss.sgi.com In-Reply-To: <39665F71.84F5D39A@somers.net> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: On 7 Jul, rick - SomersNet, Inc. wrote: > I downloaded the patches into the apache_1.3.11/src and ran > patch < 10xpatch-1.3.11-0 Lets asume your apache_1.3.11 directory resides in /tmp. You have to cd copy 10xpatch-1.3.11-0 into /tmp, cd into /tmp and then to patch from there. Your know apache is already at 1.3.12? And you know there exists some Bugfixes for 10xpatch (I've 10xpatch-1.3.12-0, 10xpatch-1.3.12-1 and 10xpatch-1.3.12-2)? Bye, Alexander. -- Actually, Microsoft is sort of a mixture between the Borg and the Ferengi. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = 7423 F3E6 3A7E B334 A9CC B10A 1F5F 130A A638 6E7E From owner-apache@oss.sgi.com Wed Jul 19 11:31:53 2000 Received: by oss.sgi.com id ; Wed, 19 Jul 2000 11:31:44 -0700 Received: from mail.freeview.com ([64.16.30.12]:16651 "EHLO mail.freeview.com") by oss.sgi.com with ESMTP id ; Wed, 19 Jul 2000 11:31:06 -0700 Received: from condom.freeview.com ([64.16.30.2] helo=polar) by mail.freeview.com with smtp (Exim 3.13 #18) id 13Eyhw-0003ad-00 for apache@oss.sgi.com; Wed, 19 Jul 2000 11:36:36 -0700 From: "Allan Rafuse" To: "apache@oss.sgi.com" Date: Wed, 19 Jul 2000 11:30:29 -0700 Reply-To: "Allan Rafuse" X-Mailer: PMMail 2000 Professional (2.10.2010) For Windows 2000 (5.0.2195) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Applying Patches to 1.3.12 Message-Id: Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: I've downloaded all the patches and even redownloaded the apache-1.3.12.tar.gz and I'm still unable to apply the patches. Here are my steps on a RH 6.0 2.2.14 system: cd /usr/src tar -xzvf /tmp/apache_1.3.12.tar.gz cd apache_1.3.12 cp /tmp/10* . patch < 10xpatch-1.3.12-0 and this yields: [root@couloir apache_1.3.12]# patch < 10xpatch-1.3.12-0 patching file `10xpatchlevel' patching file `ABOUT_APACHE' can't find file to patch at input line 26 Perhaps you should have used the -p or --strip option? The text leading up to this was: -------------------------- |diff -Naur apache_1.3.12/conf/httpd.conf-dist-orig apache_1.3.12/conf/httpd.conf-dist |--- apache_1.3.12/conf/httpd.conf-dist-orig Sun Feb 20 23:30:46 2000 |+++ apache_1.3.12/conf/httpd.conf-dist Wed Mar 1 17:12:35 2000 -------------------------- File to patch: Thanks -Allan <- Allan Rafuse -> Systems Administrator Freeview Publishing Inc. email: allan@freeview.com web: http://www.freeview.com From owner-apache@oss.sgi.com Wed Jul 19 11:45:23 2000 Received: by oss.sgi.com id ; Wed, 19 Jul 2000 11:45:14 -0700 Received: from runt.ebetinc.com ([208.48.139.171]:25359 "EHLO runt.ebetinc.com") by oss.sgi.com with ESMTP id ; Wed, 19 Jul 2000 11:44:34 -0700 Received: from drees (drees.ebetinc.com [200.1.1.25]) by runt.ebetinc.com (8.9.3/8.9.3) with SMTP id LAA03191 for ; Wed, 19 Jul 2000 11:44:06 -0700 From: "David Rees" To: Subject: RE: Applying Patches to 1.3.12 Date: Wed, 19 Jul 2000 11:44:06 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: There's a hint in the error message: Add "-p1" to your patch command: patch -p1 < 10xpatch-1.3.12-0 -Dave > -----Original Message----- > From: owner-apache@oss.sgi.com [mailto:owner-apache@oss.sgi.com]On > Behalf Of Allan Rafuse > Sent: Wednesday, July 19, 2000 11:30 AM > To: apache@oss.sgi.com > Subject: Applying Patches to 1.3.12 > > > I've downloaded all the patches and even redownloaded > the apache-1.3.12.tar.gz and I'm still unable to apply the patches. > Here are my steps on a RH 6.0 2.2.14 system: > > cd /usr/src > tar -xzvf /tmp/apache_1.3.12.tar.gz > cd apache_1.3.12 > cp /tmp/10* . > patch < 10xpatch-1.3.12-0 > > and this yields: > [root@couloir apache_1.3.12]# patch < 10xpatch-1.3.12-0 > patching file `10xpatchlevel' > patching file `ABOUT_APACHE' > can't find file to patch at input line 26 > Perhaps you should have used the -p or --strip option? > The text leading up to this was: > -------------------------- > |diff -Naur apache_1.3.12/conf/httpd.conf-dist-orig > apache_1.3.12/conf/httpd.conf-dist > |--- apache_1.3.12/conf/httpd.conf-dist-orig Sun Feb 20 23:30:46 2000 > |+++ apache_1.3.12/conf/httpd.conf-dist Wed Mar 1 17:12:35 2000 > -------------------------- > File to patch: > > Thanks > -Allan > > > <- Allan Rafuse -> > Systems Administrator > Freeview Publishing Inc. > email: allan@freeview.com > web: http://www.freeview.com > > From owner-apache@oss.sgi.com Wed Jul 19 12:00:53 2000 Received: by oss.sgi.com id ; Wed, 19 Jul 2000 12:00:44 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:50192 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 19 Jul 2000 12:00:27 -0700 Received: from trudge.engr.sgi.com (trudge.engr.sgi.com [163.154.38.51]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id MAA05238 for ; Wed, 19 Jul 2000 12:05:44 -0700 (PDT) mail_from (mja@trudge.engr.sgi.com) Received: (from mja@localhost) by trudge.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id LAA58824; Wed, 19 Jul 2000 11:59:37 -0700 (PDT) From: mja@trudge.engr.sgi.com (Mike Abbott) Message-Id: <200007191859.LAA58824@trudge.engr.sgi.com> Subject: Re: Applying Patches to 1.3.12 To: allan@freeview.com Date: Wed, 19 Jul 2000 11:59:36 -0700 (PDT) Cc: apache@oss.sgi.com (apache@oss.sgi.com) In-Reply-To: from "Allan Rafuse" at Jul 19, 2000 11:30:29 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: > patch -p1 < 10xpatch-1.3.12-0 Some versions of patch work this way: % gzcat apache_1.3.12.tar.gz | tar xf - % patch < 10xpatch-1.3.12-0 Some work this way: % gzcat apache_1.3.12.tar.gz | tar xf - % cd apache_1.3.12 % patch -p1 < 10xpatch-1.3.12-0 I'll add this to the FAQ. Thanks. -- Michael J. Abbott mja@sgi.com http://reality.sgi.com/mja/ From owner-apache@oss.sgi.com Thu Jul 27 16:09:20 2000 Received: by oss.sgi.com id ; Thu, 27 Jul 2000 16:09:10 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:51303 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 27 Jul 2000 16:09:02 -0700 Received: from trudge.engr.sgi.com (trudge.engr.sgi.com [163.154.38.51]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id QAA01846; Thu, 27 Jul 2000 16:14:58 -0700 (PDT) mail_from (mja@trudge.engr.sgi.com) Received: (from mja@localhost) by trudge.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id QAA80488; Thu, 27 Jul 2000 16:08:41 -0700 (PDT) From: mja@trudge.engr.sgi.com (Mike Abbott) Message-Id: <200007272308.QAA80488@trudge.engr.sgi.com> Subject: Patch for Apache/2.0a4 available To: apache@oss.sgi.com, state-threads@oss.sgi.com, new-httpd@apache.org Date: Thu, 27 Jul 2000 16:08:41 -0700 (PDT) Reply-To: mja@sgi.com X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: The Accelerating Apache Project is pleased to announce the availability of its enhancements for Apache/2.0a4, including an all new state-threaded multi-processing module that's faster than any standard Apache/2.0 MPM. Accelerating Apache Project: http://oss.sgi.com/projects/apache/ State Threads Library: http://oss.sgi.com/projects/state-threads/ -- Michael J. Abbott mja@sgi.com http://reality.sgi.com/mja/ From owner-apache@oss.sgi.com Thu Jul 27 19:41:22 2000 Received: by oss.sgi.com id ; Thu, 27 Jul 2000 19:41:12 -0700 Received: from twinlark.arctic.org ([204.107.140.52]:49160 "HELO twinlark.arctic.org") by oss.sgi.com with SMTP id ; Thu, 27 Jul 2000 19:41:00 -0700 Received: (qmail 31254 invoked by uid 500); 28 Jul 2000 02:41:02 -0000 Date: Thu, 27 Jul 2000 19:41:02 -0700 (PDT) From: dean gaudet To: new-httpd@apache.org, mja@sgi.com cc: apache@oss.sgi.com, state-threads@oss.sgi.com Subject: Re: Patch for Apache/2.0a4 available In-Reply-To: <200007272308.QAA80488@trudge.engr.sgi.com> Message-ID: X-comment: visit http://arctic.org/~dean/legal for information regarding copyright and disclaimer. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: yay, it's the hybrid threading model. i'm stoked that 2.0 made this easy for you -- it's exactly one of the applications i envisioned with the mpm architecture. oh and it's based on NSPR. heh. i love how things come full circle. thanks mike (and sgi)! -dean On Thu, 27 Jul 2000, Mike Abbott wrote: > The Accelerating Apache Project is pleased to announce the > availability of its enhancements for Apache/2.0a4, including an all > new state-threaded multi-processing module that's faster than any > standard Apache/2.0 MPM. > > Accelerating Apache Project: > http://oss.sgi.com/projects/apache/ > > State Threads Library: > http://oss.sgi.com/projects/state-threads/ > -- > Michael J. Abbott mja@sgi.com http://reality.sgi.com/mja/ > From owner-apache@oss.sgi.com Mon Aug 7 16:18:21 2000 Received: by oss.sgi.com id ; Mon, 7 Aug 2000 16:18:11 -0700 Received: from magician.bunzy.net ([206.245.168.220]:35077 "HELO magician.bunzy.net") by oss.sgi.com with SMTP id ; Mon, 7 Aug 2000 16:17:50 -0700 Received: (qmail 2027 invoked by uid 500); 7 Aug 2000 23:17:19 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 7 Aug 2000 23:17:18 -0000 Date: Mon, 7 Aug 2000 19:17:18 -0400 (EDT) From: tc lewis To: apache@oss.sgi.com Subject: accelerating apache/QSC. (fwd) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: so Mike is apparently on vacation, and now i've realized there's a mailing list. anyone have any suggestions on the below? thanks! -tcl. ---------- Forwarded message ---------- Date: Mon, 7 Aug 2000 18:36:21 -0400 (EDT) From: tc lewis To: mja@sgi.com Cc: tc lewis Subject: accelerating apache/QSC. Mike, today i stumbled upon sgi's accelerating apache project and found it rather intriguing. i've tried sgi's patches with apache 1.3.12 successfully and notice slightly better returns on some simple benchmarks with apache's "ab" than with apache 1.3.12 alone. is there a document anywhere that documents what changes sgi has made in the patches as an overview, or should i continue reading through the actual patch? also, i have a question about QSC. i have it compiled in, and it's enabled, but for some reason every page appears to be "uncachable". static html, static images...everything i've tried. i've looked over the rules in the qsc documentation about the no-cache pragma and all the steps in order for a page to be cached, but i'm still baffled. is there anything i could be easily missing here? i'm basically using all of the apache/sgi defaults. this is on a linux/intel system. redhat 6.2 operating system. i've configured with: CFLAGS='-DUSE_QSC -D__i686__' ./configure --prefix=/home/tcl/aptest/apache-sgi --enable-module=most --enable-module=mmap_static the -D__i686__ is because gcc only seems to define __i386__, yet src/main/qsc.c checks for 486, 586, 686, or pentiumpro. so that's my hack way of getting around that for now. the rest should look familiar. my server-status is showing things like: Quick Shortcut Cache (QSC) Status: hit ratio 0/5048 (0.00%) uncachable 5048/5048 (100.00%) uncachable misses 5045/5045 (100.00%) uncachable requests 3/5048 (0.06%) uncachable responses 0/5048 (0.00%) resets 1 Hash table failed insertions 0 entries 0 duplicate entries 0 bucket use 0/128 (0.00%) hash effectiveness 0/0 (0.00%) longest chain 0 avg. chain 0.0 avg. nonempty chain 0.0 Chain length histogram: 1 2 3 4 5+ 0 0 0 0 0 Memory use (in bytes) table + misc 544 entries 0 URIs 0 headers 0 total 4640/4194304 (0.11%) mapped file data 0 mapped file vaddrs 0 (0 4096-byte pages) all uncachable. anyway, any ideas? thanks a lot for your time. your efforts are appreciated. -tcl. From owner-apache@oss.sgi.com Tue Aug 8 08:07:34 2000 Received: by oss.sgi.com id ; Tue, 8 Aug 2000 08:07:25 -0700 Received: from mout1.freenet.de ([194.97.50.132]:42450 "EHLO mout1.freenet.de") by oss.sgi.com with ESMTP id ; Tue, 8 Aug 2000 08:06:48 -0700 Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout1.freenet.de with esmtp (Exim 3.16 #20) id 13MAxL-0007v2-00; Tue, 08 Aug 2000 17:06:15 +0200 Received: from a38f1.pppool.de ([213.6.56.241] helo=Magelan.Leidinger.net) by mx3.freenet.de with esmtp (Exim 3.16 #2) id 13MAxK-00030W-00; Tue, 08 Aug 2000 17:06:14 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.9.3/8.9.3) with ESMTP id NAA02282; Tue, 8 Aug 2000 13:03:45 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200008081103.NAA02282@Magelan.Leidinger.net> Date: Tue, 8 Aug 2000 13:03:43 +0200 (CEST) From: Alexander Leidinger Subject: Re: accelerating apache/QSC. (fwd) To: tcl@bunzy.net cc: apache@oss.sgi.com In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: On 7 Aug, tc lewis wrote: > today i stumbled upon sgi's accelerating apache project and found it > rather intriguing. i've tried sgi's patches with apache 1.3.12 > successfully and notice slightly better returns on some simple benchmarks > with apache's "ab" than with apache 1.3.12 alone. is there a document > anywhere that documents what changes sgi has made in the patches as an I haven't found one last time I checked oss.sgi.com. If there's one, it must be an SGI internal document. > overview, or should i continue reading through the actual patch? It seems that's the only way... perhaps you can document what you get out of the patch? :-) [QSC] > this is on a linux/intel system. redhat 6.2 operating system. i've > configured with: > CFLAGS='-DUSE_QSC -D__i686__' ./configure --prefix=/home/tcl/aptest/apache-sgi --enable-module=most --enable-module=mmap_static > > the -D__i686__ is because gcc only seems to define __i386__, yet > src/main/qsc.c checks for 486, 586, 686, or pentiumpro. so that's my hack > way of getting around that for now. the rest should look familiar. If you use gcc v 2.95.2 you can use -mpentium or -mpentiumpro instead (-march=... should include -m..., but it didn't), it defines it for you. [server-status] You haven't included relevant parts of your apache.conf (I didn't use the QSC, so I can't comment further). Bye, Alexander. -- Actually, Microsoft is sort of a mixture between the Borg and the Ferengi. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = 7423 F3E6 3A7E B334 A9CC B10A 1F5F 130A A638 6E7E From owner-apache@oss.sgi.com Tue Aug 8 10:46:56 2000 Received: by oss.sgi.com id ; Tue, 8 Aug 2000 10:46:46 -0700 Received: from magician.bunzy.net ([206.245.168.220]:19727 "HELO magician.bunzy.net") by oss.sgi.com with SMTP id ; Tue, 8 Aug 2000 10:46:15 -0700 Received: (qmail 14461 invoked by uid 500); 8 Aug 2000 17:45:42 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 8 Aug 2000 17:45:42 -0000 Date: Tue, 8 Aug 2000 13:45:42 -0400 (EDT) From: tc lewis To: Alexander Leidinger cc: apache@oss.sgi.com Subject: Re: accelerating apache/QSC. (fwd) In-Reply-To: <200008081103.NAA02282@Magelan.Leidinger.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: On Tue, 8 Aug 2000, Alexander Leidinger wrote: > > overview, or should i continue reading through the actual patch? > > It seems that's the only way... perhaps you can document what you get > out of the patch? :-) haha. that thing is large. seems heavily composed of (long) and other casts for 64 bit / irix64 portability i assume, but i haven't found much beyond that...yet... > [server-status] > You haven't included relevant parts of your apache.conf (I didn't use > the QSC, so I can't comment further). hmm, there's not much to it. i basically use sgi's defaults: QSC on and my configure did include --enable-module=mmap_static i've seen the mmapfile directive with mmap_static, but i was under the assumption that QSC handles caching much more automatically and dynamically. if not, what are its benefits? still baffled as to what i'm missing. -tcl. From owner-apache@oss.sgi.com Tue Aug 8 10:51:56 2000 Received: by oss.sgi.com id ; Tue, 8 Aug 2000 10:51:46 -0700 Received: from srv1.ecropolis.com ([209.173.8.8]:3600 "HELO srv1.ecropolis.com") by oss.sgi.com with SMTP id ; Tue, 8 Aug 2000 10:51:27 -0700 Received: (qmail 14162 invoked from network); 8 Aug 2000 17:51:12 -0000 Received: from srv1.ecropolis.com (jeremy@209.173.8.8) by srv1.ecropolis.com with SMTP; 8 Aug 2000 17:51:12 -0000 Date: Tue, 8 Aug 2000 13:51:12 -0400 (EDT) From: Jeremy Hansen X-Sender: jeremy@srv1.ecropolis.com To: tc lewis cc: Alexander Leidinger , apache@oss.sgi.com Subject: Re: accelerating apache/QSC. (fwd) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: If you check out the mod page for mmap_static, you'll see a little `find` line they note to include a lot of files within your mmapfile directive. It just makes me believe that this is what they want you to do to have things cached, which seems super kludgy if that's the case for large sites. I can't run a huge find on all my accounts when the web server comes up. That's lame. It can't be troo. -jeremy > > > On Tue, 8 Aug 2000, Alexander Leidinger wrote: > > > overview, or should i continue reading through the actual patch? > > > > It seems that's the only way... perhaps you can document what you get > > out of the patch? :-) > > haha. that thing is large. seems heavily composed of (long) and other > casts for 64 bit / irix64 portability i assume, but i haven't found much > beyond that...yet... > > > > > [server-status] > > You haven't included relevant parts of your apache.conf (I didn't use > > the QSC, so I can't comment further). > > hmm, there's not much to it. i basically use sgi's defaults: > > > QSC on > > > and my configure did include --enable-module=mmap_static > > i've seen the mmapfile directive with mmap_static, but i was under the > assumption that QSC handles caching much more automatically and > dynamically. if not, what are its benefits? > > still baffled as to what i'm missing. > > -tcl. > > -- http://www.xxedgexx.com | jeremy@xxedgexx.com --------------------------------------------- From owner-apache@oss.sgi.com Tue Aug 8 11:47:06 2000 Received: by oss.sgi.com id ; Tue, 8 Aug 2000 11:46:57 -0700 Received: from magician.bunzy.net ([206.245.168.220]:21264 "HELO magician.bunzy.net") by oss.sgi.com with SMTP id ; Tue, 8 Aug 2000 11:46:28 -0700 Received: (qmail 14290 invoked by uid 500); 8 Aug 2000 18:45:56 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 8 Aug 2000 18:45:56 -0000 Date: Tue, 8 Aug 2000 14:45:56 -0400 (EDT) From: tc lewis To: Jeremy Hansen cc: Alexander Leidinger , apache@oss.sgi.com Subject: Re: accelerating apache/QSC. (fwd) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: yeah but that's just for mmap_static. qsc must have features beyond mmap_static. -tcl. On Tue, 8 Aug 2000, Jeremy Hansen wrote: > > If you check out the mod page for mmap_static, you'll see a little `find` > line they note to include a lot of files within your mmapfile > directive. It just makes me believe that this is what they want you to do > to have things cached, which seems super kludgy if that's the case for > large sites. I can't run a huge find on all my accounts when the web > server comes up. That's lame. It can't be troo. > > -jeremy > > > > > > > On Tue, 8 Aug 2000, Alexander Leidinger wrote: > > > > overview, or should i continue reading through the actual patch? > > > > > > It seems that's the only way... perhaps you can document what you get > > > out of the patch? :-) > > > > haha. that thing is large. seems heavily composed of (long) and other > > casts for 64 bit / irix64 portability i assume, but i haven't found much > > beyond that...yet... > > > > > > > > > [server-status] > > > You haven't included relevant parts of your apache.conf (I didn't use > > > the QSC, so I can't comment further). > > > > hmm, there's not much to it. i basically use sgi's defaults: > > > > > > QSC on > > > > > > and my configure did include --enable-module=mmap_static > > > > i've seen the mmapfile directive with mmap_static, but i was under the > > assumption that QSC handles caching much more automatically and > > dynamically. if not, what are its benefits? > > > > still baffled as to what i'm missing. > > > > -tcl. > > > > > > -- > > http://www.xxedgexx.com | jeremy@xxedgexx.com > --------------------------------------------- > > From owner-apache@oss.sgi.com Tue Aug 8 11:49:56 2000 Received: by oss.sgi.com id ; Tue, 8 Aug 2000 11:49:36 -0700 Received: from srv1.ecropolis.com ([209.173.8.8]:59664 "HELO srv1.ecropolis.com") by oss.sgi.com with SMTP id ; Tue, 8 Aug 2000 11:49:10 -0700 Received: (qmail 17096 invoked from network); 8 Aug 2000 18:48:56 -0000 Received: from srv1.ecropolis.com (jeremy@209.173.8.8) by srv1.ecropolis.com with SMTP; 8 Aug 2000 18:48:56 -0000 Date: Tue, 8 Aug 2000 14:48:56 -0400 (EDT) From: Jeremy Hansen X-Sender: jeremy@srv1.ecropolis.com To: tc lewis cc: Alexander Leidinger , apache@oss.sgi.com Subject: Re: accelerating apache/QSC. (fwd) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: Ok, but then I don't understand why I get entries in the qsc table *only* when using mmapfile directive. -jeremy > > yeah but that's just for mmap_static. > qsc must have features beyond mmap_static. > > -tcl. > > > On Tue, 8 Aug 2000, Jeremy Hansen wrote: > > > > > If you check out the mod page for mmap_static, you'll see a little `find` > > line they note to include a lot of files within your mmapfile > > directive. It just makes me believe that this is what they want you to do > > to have things cached, which seems super kludgy if that's the case for > > large sites. I can't run a huge find on all my accounts when the web > > server comes up. That's lame. It can't be troo. > > > > -jeremy > > > > > > > > > > > On Tue, 8 Aug 2000, Alexander Leidinger wrote: > > > > > overview, or should i continue reading through the actual patch? > > > > > > > > It seems that's the only way... perhaps you can document what you get > > > > out of the patch? :-) > > > > > > haha. that thing is large. seems heavily composed of (long) and other > > > casts for 64 bit / irix64 portability i assume, but i haven't found much > > > beyond that...yet... > > > > > > > > > > > > > [server-status] > > > > You haven't included relevant parts of your apache.conf (I didn't use > > > > the QSC, so I can't comment further). > > > > > > hmm, there's not much to it. i basically use sgi's defaults: > > > > > > > > > QSC on > > > > > > > > > and my configure did include --enable-module=mmap_static > > > > > > i've seen the mmapfile directive with mmap_static, but i was under the > > > assumption that QSC handles caching much more automatically and > > > dynamically. if not, what are its benefits? > > > > > > still baffled as to what i'm missing. > > > > > > -tcl. > > > > > > > > > > -- > > > > http://www.xxedgexx.com | jeremy@xxedgexx.com > > --------------------------------------------- > > > > > > -- http://www.xxedgexx.com | jeremy@xxedgexx.com --------------------------------------------- From owner-apache@oss.sgi.com Wed Aug 9 03:13:03 2000 Received: by oss.sgi.com id ; Wed, 9 Aug 2000 03:12:53 -0700 Received: from mout0.freenet.de ([194.97.50.131]:28085 "EHLO mout0.freenet.de") by oss.sgi.com with ESMTP id ; Wed, 9 Aug 2000 03:12:28 -0700 Received: from [194.97.50.135] (helo=mx2.freenet.de) by mout0.freenet.de with esmtp (Exim 3.16 #20) id 13MSq3-0002JW-00; Wed, 09 Aug 2000 12:11:55 +0200 Received: from a2dbc.pppool.de ([213.6.45.188] helo=Magelan.Leidinger.net) by mx2.freenet.de with esmtp (Exim 3.16 #20) id 13MSq1-0007v4-00; Wed, 09 Aug 2000 12:11:54 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.9.3/8.9.3) with ESMTP id UAA36013; Tue, 8 Aug 2000 20:30:38 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200008081830.UAA36013@Magelan.Leidinger.net> Date: Tue, 8 Aug 2000 20:30:37 +0200 (CEST) From: Alexander Leidinger Subject: Re: accelerating apache/QSC. (fwd) To: jeremy@xxedgexx.com cc: tcl@bunzy.net, apache@oss.sgi.com In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: On 8 Aug, Jeremy Hansen wrote: > If you check out the mod page for mmap_static, you'll see a little `find` > line they note to include a lot of files within your mmapfile > directive. It just makes me believe that this is what they want you to do > to have things cached, which seems super kludgy if that's the case for > large sites. I can't run a huge find on all my accounts when the web > server comes up. That's lame. It can't be troo. It seems to be designed for static content (which, per definition, didn't change very often). You can do the "find" once and only add new stuff as needed (you know when you change something, right?). You also have to restart the webserver after a change, so you can't allow customers to use it without notifying you (you didn't have to find static content yourself, they have to provide a list which should be in a format which can be processed by a script which does sanity checks and generates config rules to be included in the config). Bye, Alexander. -- 0 and 1. Now what could be so hard about that? http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = 7423 F3E6 3A7E B334 A9CC B10A 1F5F 130A A638 6E7E From owner-apache@oss.sgi.com Wed Aug 9 03:13:12 2000 Received: by oss.sgi.com id ; Wed, 9 Aug 2000 03:13:03 -0700 Received: from mout1.freenet.de ([194.97.50.132]:22734 "EHLO mout1.freenet.de") by oss.sgi.com with ESMTP id ; Wed, 9 Aug 2000 03:12:40 -0700 Received: from [194.97.50.135] (helo=mx2.freenet.de) by mout1.freenet.de with esmtp (Exim 3.16 #20) id 13MSq6-0003kJ-00; Wed, 09 Aug 2000 12:11:58 +0200 Received: from a2dbc.pppool.de ([213.6.45.188] helo=Magelan.Leidinger.net) by mx2.freenet.de with esmtp (Exim 3.16 #20) id 13MSq5-0007v4-00; Wed, 09 Aug 2000 12:11:58 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.9.3/8.9.3) with ESMTP id TAA35659; Tue, 8 Aug 2000 19:53:02 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200008081753.TAA35659@Magelan.Leidinger.net> Date: Tue, 8 Aug 2000 19:52:59 +0200 (CEST) From: Alexander Leidinger Subject: Re: accelerating apache/QSC. (fwd) To: tcl@bunzy.net cc: apache@oss.sgi.com In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: On 8 Aug, tc lewis wrote: >> > overview, or should i continue reading through the actual patch? >> >> It seems that's the only way... perhaps you can document what you get >> out of the patch? :-) > > haha. that thing is large. seems heavily composed of (long) and other > casts for 64 bit / irix64 portability i assume, but i haven't found much > beyond that...yet... There's more, belive me (I ported it to 1.3.12 on my own, but I wasn't fast enough to submit it, it was already done... and no, I didn't remember details). >> [server-status] >> You haven't included relevant parts of your apache.conf (I didn't use >> the QSC, so I can't comment further). > > hmm, there's not much to it. i basically use sgi's defaults: > > > QSC on > > > and my configure did include --enable-module=mmap_static > > i've seen the mmapfile directive with mmap_static, but i was under the > assumption that QSC handles caching much more automatically and No, you have to use mmapfile. > dynamically. if not, what are its benefits? Static content, e.g. images, downloads, ... Bye, Alexander. -- Reboot America. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = 7423 F3E6 3A7E B334 A9CC B10A 1F5F 130A A638 6E7E From owner-apache@oss.sgi.com Wed Aug 9 05:31:44 2000 Received: by oss.sgi.com id ; Wed, 9 Aug 2000 05:31:33 -0700 Received: from mout0.freenet.de ([194.97.50.131]:58588 "EHLO mout0.freenet.de") by oss.sgi.com with ESMTP id ; Wed, 9 Aug 2000 05:31:04 -0700 Received: from [194.97.50.135] (helo=mx2.freenet.de) by mout0.freenet.de with esmtp (Exim 3.16 #20) id 13MV0C-000803-00; Wed, 09 Aug 2000 14:30:32 +0200 Received: from a371b.pppool.de ([213.6.55.27] helo=Magelan.Leidinger.net) by mx2.freenet.de with esmtp (Exim 3.16 #20) id 13MV08-0003Wf-00; Wed, 09 Aug 2000 14:30:30 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.9.3/8.9.3) with ESMTP id MAA01206; Wed, 9 Aug 2000 12:23:59 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200008091023.MAA01206@Magelan.Leidinger.net> Date: Wed, 9 Aug 2000 12:23:58 +0200 (CEST) From: Alexander Leidinger Subject: Re: accelerating apache/QSC. (fwd) To: jeremy@xxedgexx.com cc: tcl@bunzy.net, apache@oss.sgi.com In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: On 8 Aug, Jeremy Hansen wrote: > Ok, but then I don't understand why I get entries in the qsc table *only* > when using mmapfile directive. Because the QSC is an extension to mmap_static. Bye, Alexander. -- Where do you think you're going today? http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = 7423 F3E6 3A7E B334 A9CC B10A 1F5F 130A A638 6E7E From owner-apache@oss.sgi.com Wed Aug 9 05:31:52 2000 Received: by oss.sgi.com id ; Wed, 9 Aug 2000 05:31:44 -0700 Received: from mout1.freenet.de ([194.97.50.132]:52942 "EHLO mout1.freenet.de") by oss.sgi.com with ESMTP id ; Wed, 9 Aug 2000 05:31:14 -0700 Received: from [194.97.50.135] (helo=mx2.freenet.de) by mout1.freenet.de with esmtp (Exim 3.16 #20) id 13MV0M-00069o-00; Wed, 09 Aug 2000 14:30:42 +0200 Received: from a371b.pppool.de ([213.6.55.27] helo=Magelan.Leidinger.net) by mx2.freenet.de with esmtp (Exim 3.16 #20) id 13MV0L-0003Wf-00; Wed, 09 Aug 2000 14:30:41 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.9.3/8.9.3) with ESMTP id MAA01203; Wed, 9 Aug 2000 12:22:50 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200008091022.MAA01203@Magelan.Leidinger.net> Date: Wed, 9 Aug 2000 12:22:49 +0200 (CEST) From: Alexander Leidinger Subject: Re: accelerating apache/QSC. (fwd) To: tcl@bunzy.net cc: jeremy@xxedgexx.com, apache@oss.sgi.com In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: On 8 Aug, tc lewis wrote: > yeah but that's just for mmap_static. > qsc must have features beyond mmap_static. Read the patched Apache documantation, the QSC is described. Bye, Alexander. -- "One world, one web, one program" -- Microsoft promotional ad "Ein Volk, ein Reich, ein Fuehrer" -- Adolf Hitler http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = 7423 F3E6 3A7E B334 A9CC B10A 1F5F 130A A638 6E7E From owner-apache@oss.sgi.com Wed Aug 16 17:08:26 2000 Received: by oss.sgi.com id ; Wed, 16 Aug 2000 17:08:15 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:18256 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 16 Aug 2000 17:07:59 -0700 Received: from trudge.engr.sgi.com (trudge.engr.sgi.com [163.154.38.51]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id RAA00000 for ; Wed, 16 Aug 2000 17:14:09 -0700 (PDT) mail_from (mja@trudge.engr.sgi.com) Received: (from mja@localhost) by trudge.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id RAA19278; Wed, 16 Aug 2000 17:06:11 -0700 (PDT) From: mja@trudge.engr.sgi.com (Mike Abbott) Message-Id: <200008170006.RAA19278@trudge.engr.sgi.com> Subject: Re: accelerating apache/QSC. (fwd) To: tcl@bunzy.net (tc lewis) Date: Wed, 16 Aug 2000 17:06:10 -0700 (PDT) Cc: apache@oss.sgi.com In-Reply-To: from "tc lewis" at Aug 07, 2000 07:17:18 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: I'm back from vacation. Are you able to use the QSC now or may I still help? > is there a document > anywhere that documents what changes sgi has made in the patches as an > overview, or should i continue reading through the actual patch? There's some documentation about some important functional parts of the patches: http://oss.sgi.com/projects/apache/patchinfo.html#documentation which unfortunately looks right only when viewed as part of the Apache server documentation (in other words it would look bad standalone on oss.sgi.com). I won't write docs this way again; in the future all the docs will work both ways. There is no overview document, although I have been sitting on an unfinished one for a year. You can craft your own history and overview by chasing links from http://oss.sgi.com/projects/apache/news.html and/or reading each version's patchinfo page and seeing how things progress over time: http://oss.sgi.com/projects/apache/patchinfo-1.3.6.html http://oss.sgi.com/projects/apache/patchinfo-1.3.9.html etc. > also, i have a question about QSC. i have it compiled in, and it's > enabled, but for some reason every page appears to be "uncachable". The other responders were correct. The QSC is tightly integrated with the mmap_static module. The QSC responds only to pages that are mmapfile'd. See the #using and #primer sections of htdocs/manual/qsc.html in your patched source tree. > the -D__i686__ is because gcc only seems to define __i386__, yet > src/main/qsc.c checks for 486, 586, 686, or pentiumpro. See http://oss.sgi.com/projects/apache/faq.html#Q17 > i've seen the mmapfile directive with mmap_static, but i was under the > assumption that QSC handles caching much more automatically and > dynamically. The QSC caches only responses generated by mmap_static which requires an explicit list of files to map. Yes this is a clunky interface, but you don't have to mmapfile every file, just the popular ones will do. You don't need to use the find command every time the server starts: mine the logs for the most-requested static files and map just those. Adjust the list occasionally as part of routine maintenance. > if not, what are its benefits? Its benefit is about 30% faster response. > qsc must have features beyond mmap_static. The QSC exists only to make Apache serve HTTP GET requests for static content faster. For a more dynamic, self-balancing, easier to configure, reputedly buggy, and much slower cache try mod_cache in apache-contrib-1.0.8 from http://www.apache.org/dist/contrib/modules/1.3/ . Please let me know if you have any other questions. -- Michael J. Abbott mja@sgi.com http://reality.sgi.com/mja/ From owner-apache@oss.sgi.com Wed Aug 16 17:57:05 2000 Received: by oss.sgi.com id ; Wed, 16 Aug 2000 17:56:55 -0700 Received: from magician.bunzy.net ([206.245.168.220]:21004 "HELO magician.bunzy.net") by oss.sgi.com with SMTP id ; Wed, 16 Aug 2000 17:56:39 -0700 Received: (qmail 19928 invoked by uid 500); 17 Aug 2000 00:56:38 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 17 Aug 2000 00:56:37 -0000 Date: Wed, 16 Aug 2000 20:56:37 -0400 (EDT) From: tc lewis To: Mike Abbott cc: apache@oss.sgi.com Subject: Re: accelerating apache/QSC. (fwd) In-Reply-To: <200008170006.RAA19278@trudge.engr.sgi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: Mike, thanks a lot for your responses. i was just under the assumption that qsc did something different, but now i understand it's mainly just a performance boost to mmap_static. ah now i even see this in the qsc docs: You must also configure the mmap_static module by adding an mmapfile directive for each file you want cached. missed that the first time. thanks! -tcl. On Wed, 16 Aug 2000, Mike Abbott wrote: > I'm back from vacation. Are you able to use the QSC now or may I still > help? > > > is there a document > > anywhere that documents what changes sgi has made in the patches as an > > overview, or should i continue reading through the actual patch? > > There's some documentation about some important functional parts of the > patches: > http://oss.sgi.com/projects/apache/patchinfo.html#documentation > which unfortunately looks right only when viewed as part of the Apache > server documentation (in other words it would look bad standalone on > oss.sgi.com). I won't write docs this way again; in the future all the > docs will work both ways. > > There is no overview document, although I have been sitting on an > unfinished one for a year. You can craft your own history and overview > by chasing links from > http://oss.sgi.com/projects/apache/news.html > and/or reading each version's patchinfo page and seeing how things > progress over time: > http://oss.sgi.com/projects/apache/patchinfo-1.3.6.html > http://oss.sgi.com/projects/apache/patchinfo-1.3.9.html > etc. > > > also, i have a question about QSC. i have it compiled in, and it's > > enabled, but for some reason every page appears to be "uncachable". > > The other responders were correct. The QSC is tightly integrated with > the mmap_static module. The QSC responds only to pages that are > mmapfile'd. See the #using and #primer sections of > htdocs/manual/qsc.html in your patched source tree. > > > the -D__i686__ is because gcc only seems to define __i386__, yet > > src/main/qsc.c checks for 486, 586, 686, or pentiumpro. > > See http://oss.sgi.com/projects/apache/faq.html#Q17 > > > i've seen the mmapfile directive with mmap_static, but i was under the > > assumption that QSC handles caching much more automatically and > > dynamically. > > The QSC caches only responses generated by mmap_static which requires an > explicit list of files to map. Yes this is a clunky interface, but you > don't have to mmapfile every file, just the popular ones will do. You > don't need to use the find command every time the server starts: mine > the logs for the most-requested static files and map just those. Adjust > the list occasionally as part of routine maintenance. > > > if not, what are its benefits? > > Its benefit is about 30% faster response. > > > qsc must have features beyond mmap_static. > > The QSC exists only to make Apache serve HTTP GET requests for static > content faster. For a more dynamic, self-balancing, easier to > configure, reputedly buggy, and much slower cache try mod_cache in > apache-contrib-1.0.8 from http://www.apache.org/dist/contrib/modules/1.3/ . > > Please let me know if you have any other questions. > -- > Michael J. Abbott mja@sgi.com http://reality.sgi.com/mja/ > From owner-apache@oss.sgi.com Thu Aug 24 14:29:44 2000 Received: by oss.sgi.com id ; Thu, 24 Aug 2000 14:29:34 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:51509 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 24 Aug 2000 14:29:03 -0700 Received: from nodin.corp.sgi.com (nodin.corp.sgi.com [192.26.51.193]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id OAA06519 for ; Thu, 24 Aug 2000 14:20:42 -0700 (PDT) mail_from (mja@trudge.engr.sgi.com) Received: from trudge.engr.sgi.com ([163.154.38.51]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id OAA93128 for ; Thu, 24 Aug 2000 14:27:48 -0700 (PDT) Received: (from mja@localhost) by trudge.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id OAA04376; Thu, 24 Aug 2000 14:20:20 -0700 (PDT) From: mja@trudge.engr.sgi.com (Mike Abbott) Message-Id: <200008242120.OAA04376@trudge.engr.sgi.com> Subject: AAP patch for 2.0a6 available To: apache@oss.sgi.com Date: Thu, 24 Aug 2000 14:20:20 -0700 (PDT) Cc: new-httpd@apache.org X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: The Accelerating Apache Project announces the availability of its enhancements for Apache/2.0a6. http://oss.sgi.com/projects/apache/ We also are pleased to report that on a dual Pentium III Linux 2.4 system our state-threaded MPM is 25% faster than the dexter MPM, which uses a similar process/thread architecture with pthreads. -- Michael J. Abbott mja@sgi.com http://reality.sgi.com/mja/ From owner-apache@oss.sgi.com Thu Aug 24 14:40:24 2000 Received: by oss.sgi.com id ; Thu, 24 Aug 2000 14:40:14 -0700 Received: from devsys.jaguNET.com ([209.133.192.6]:52490 "EHLO devsys.jaguNET.com") by oss.sgi.com with ESMTP id ; Thu, 24 Aug 2000 14:39:53 -0700 Received: (from jim@localhost) by devsys.jaguNET.com (8.9.3/jag-2.6) id RAA18264; Thu, 24 Aug 2000 17:39:17 -0400 (EDT) From: Jim Jagielski Message-Id: <200008242139.RAA18264@devsys.jaguNET.com> Subject: Re: AAP patch for 2.0a6 available To: new-httpd@apache.org Date: Thu, 24 Aug 2000 17:39:17 -0400 (EDT) Cc: apache@oss.sgi.com Reply-To: jim@jaguNET.com In-Reply-To: <200008242120.OAA04376@trudge.engr.sgi.com> from "Mike Abbott" at Aug 24, 2000 02:20:20 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: It would be interesting to see how it compares to your Zeus implementation ;) Mike Abbott wrote: > > The Accelerating Apache Project announces the availability of its > enhancements for Apache/2.0a6. > http://oss.sgi.com/projects/apache/ > > We also are pleased to report that on a dual Pentium III Linux 2.4 > system our state-threaded MPM is 25% faster than the dexter MPM, which > uses a similar process/thread architecture with pthreads. > -- > Michael J. Abbott mja@sgi.com http://reality.sgi.com/mja/ > -- =========================================================================== Jim Jagielski [|] jim@jaguNET.com [|] http://www.jaguNET.com/ "Are you suggesting coconuts migrate??" From owner-apache@oss.sgi.com Thu Sep 7 22:55:49 2000 Received: by oss.sgi.com id ; Thu, 7 Sep 2000 22:55:39 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:15111 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 7 Sep 2000 22:55:21 -0700 Received: from trudge.engr.sgi.com (trudge.engr.sgi.com [163.154.38.51]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id WAA05958 for ; Thu, 7 Sep 2000 22:47:41 -0700 (PDT) mail_from (mja@trudge.engr.sgi.com) Received: (from mja@localhost) by trudge.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id WAA86238; Thu, 7 Sep 2000 22:53:05 -0700 (PDT) From: mja@trudge.engr.sgi.com (Mike Abbott) Message-Id: <200009080553.WAA86238@trudge.engr.sgi.com> Subject: Two more 2.0a6 patches To: apache@oss.sgi.com, new-httpd@apache.org Date: Thu, 7 Sep 2000 22:53:04 -0700 (PDT) X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: Two more patches for Apache/2.0a6 are available from the Accelerating Apache Project. Patch #1 better identifies the server as using AAP patches and the STM, and also adds some reporting information. Patch #2 optimizes time-of-day queries and conversions, increasing performance 7% on my test rig. Patch #1 and part of patch #2 are useful only for STM users, but the rest of patch #2 could help a wider audience. Apache developers, as with all of the AAP's patches, please consider adopting the time optimizations into a future release of Apache. More information and the patches themselves are available from http://oss.sgi.com/projects/apache/ -- Michael J. Abbott mja@sgi.com http://reality.sgi.com/mja/ From owner-apache@oss.sgi.com Wed Sep 20 22:27:49 2000 Received: by oss.sgi.com id ; Wed, 20 Sep 2000 22:27:39 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:28493 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 20 Sep 2000 22:27:19 -0700 Received: from trudge.engr.sgi.com (trudge.engr.sgi.com [163.154.38.51]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id WAA07920 for ; Wed, 20 Sep 2000 22:19:36 -0700 (PDT) mail_from (mja@trudge.engr.sgi.com) Received: (from mja@localhost) by trudge.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id WAA38112; Wed, 20 Sep 2000 22:25:06 -0700 (PDT) From: mja@trudge.engr.sgi.com (Mike Abbott) Message-Id: <200009210525.WAA38112@trudge.engr.sgi.com> Subject: AAP patches 3&4 for 2.0a6 To: apache@oss.sgi.com, new-httpd@apache.org Date: Wed, 20 Sep 2000 22:25:06 -0700 (PDT) X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: Two more patches for Apache/2.0a6 are available from the Accelerating Apache Project. Patch #3 - Adds some features to and fixes some minor bugs in the STM, including a fix for bug 6531 for the STM. It does not fix the bug for other MPMs since there was some doubt about whether it actually is a bug at all. - Changes the 10xpatchlevel version identification. - Optimizes mod_mmap_static slightly. Patch #4 - Optimizes logging in Common Log Format (CLF), similar to original AAP patch #3. - Fixes bugs 6519 and 6550 related to buffered logs. - Fixes documentation bug 6556. - Ports %m, %H, and %q format options from 1.3. - Adds --enable-speed-daemon option to configure. Apache developers: As with all of the AAP's patches, please consider adopting any or all of this work into a future release of Apache. More information and the patches themselves are available from http://oss.sgi.com/projects/apache/ -- Michael J. Abbott mja@sgi.com http://reality.sgi.com/mja/ From owner-apache@oss.sgi.com Wed Sep 20 23:03:19 2000 Received: by oss.sgi.com id ; Wed, 20 Sep 2000 23:02:59 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:34641 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 20 Sep 2000 23:02:36 -0700 Received: from nodin.corp.sgi.com (fddi-nodin.corp.sgi.com [198.29.75.193]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id WAA09871 for ; Wed, 20 Sep 2000 22:54:53 -0700 (PDT) mail_from (mja@trudge.engr.sgi.com) Received: from trudge.engr.sgi.com (trudge.engr.sgi.com [163.154.38.51]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id XAA90428 for ; Wed, 20 Sep 2000 23:02:34 -0700 (PDT) Received: (from mja@localhost) by trudge.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id WAA43285; Wed, 20 Sep 2000 22:59:06 -0700 (PDT) From: mja@trudge.engr.sgi.com (Mike Abbott) Message-Id: <200009210559.WAA43285@trudge.engr.sgi.com> Subject: AAP patch 5 for 2.0a6 To: apache@oss.sgi.com, new-httpd@apache.org Date: Wed, 20 Sep 2000 22:59:06 -0700 (PDT) X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: Oh what the heck, why not. Here's another patch for Apache/2.0a6 from the Accelerating Apache Project. Patch #5 adds apr_inet_ntoa(), a fast implementation of inet_ntoa(), similar to the one from original AAP patch #3. Apache developers: As with all of the AAP's patches, please consider adopting any or all of this work into a future release of Apache. More information and the patches themselves are available from http://oss.sgi.com/projects/apache/ -- Michael J. Abbott mja@sgi.com http://reality.sgi.com/mja/ From owner-apache@oss.sgi.com Thu Sep 21 00:41:40 2000 Received: by oss.sgi.com id ; Thu, 21 Sep 2000 00:41:20 -0700 Received: from tom.interq.or.jp ([210.172.128.229]:3772 "EHLO tom.interq.or.jp") by oss.sgi.com with ESMTP id ; Thu, 21 Sep 2000 00:40:49 -0700 Received: from imap.interq.or.jp (imap.interq [210.157.0.31]) by tom.interq.or.jp (8.9.3/8.9.0/8.9.0/199808251233) with ESMTP id QAA04039 for ; Thu, 21 Sep 2000 16:40:45 +0900 (JST) Received: from localhost (kevin@localhost) by imap.interq.or.jp (8.9.1b+Sun/8.9.0/8.9.0/199808251233) with ESMTP id QAA11048 for ; Thu, 21 Sep 2000 16:40:47 +0900 (JST) Date: Thu, 21 Sep 2000 16:40:46 +0900 (JST) From: Kevin Ying To: apache@oss.sgi.com Subject: 10x Patches -- Solaris 8 yet? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: Has anyone tried out the patches for 1.3.x on Solaris 8 yet? I'm curious if Solaris 8's NCA (Network Cache Accelerator) can work /with/ the patches. From owner-apache@oss.sgi.com Fri Sep 22 08:53:03 2000 Received: by oss.sgi.com id ; Fri, 22 Sep 2000 08:52:44 -0700 Received: from gtw.nineco.com ([206.166.153.130]:60911 "EHLO gamesville.com") by oss.sgi.com with ESMTP id ; Fri, 22 Sep 2000 08:52:39 -0700 Received: from gamesville.com (IDENT:ncaruso@acme52.nineCo.com [192.168.0.33]) by gamesville.com (8.9.3/8.9.3) with ESMTP id LAA26810 for ; Fri, 22 Sep 2000 11:52:28 -0400 Message-ID: <39CB803C.3B2F72B0@gamesville.com> Date: Fri, 22 Sep 2000 11:52:28 -0400 From: Nick Caruso Organization: dis X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.13 i686) X-Accept-Language: en MIME-Version: 1.0 To: apache@oss.sgi.com Subject: anyone gotten the 2.0a6 patches to work? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: Hi, I'm trying to build a version of apache 2.0a6 with the state threads patches. I've applied the patches, run "buildconf", and tried to run "configure", which fails because it says I don't have... state threads. I thought they were part of the package? Well, it seems not, since the configure script goes on to look for "st.h" and that doesn't appear in my patched source tree. I downloaded the state threads code, and unpacked and built it, and sure enough it's got the st.h header... My question is, has anyone already figured out how to point the apache configure/make files at the location where the state threads package is installed? best regards, nick caruso From owner-apache@oss.sgi.com Mon Sep 25 16:02:58 2000 Received: by oss.sgi.com id ; Mon, 25 Sep 2000 16:02:48 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:57411 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Mon, 25 Sep 2000 16:02:13 -0700 Received: from nodin.corp.sgi.com (fddi-nodin.corp.sgi.com [198.29.75.193]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id PAA07347 for ; Mon, 25 Sep 2000 15:53:34 -0700 (PDT) mail_from (mja@trudge.engr.sgi.com) Received: from trudge.engr.sgi.com (trudge.engr.sgi.com [163.154.38.51]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id QAA77813 for ; Mon, 25 Sep 2000 16:00:46 -0700 (PDT) Received: (from mja@localhost) by trudge.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id PAA67927; Mon, 25 Sep 2000 15:57:20 -0700 (PDT) From: mja@trudge.engr.sgi.com (Mike Abbott) Message-Id: <200009252257.PAA67927@trudge.engr.sgi.com> Subject: Re: anyone gotten the 2.0a6 patches to work? To: ncaruso@gamesville.com (Nick Caruso) Date: Mon, 25 Sep 2000 15:57:19 -0700 (PDT) Cc: apache@oss.sgi.com In-Reply-To: <39CB803C.3B2F72B0@gamesville.com> from "Nick Caruso" at Sep 22, 2000 11:52:28 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: > I'm trying to build a version of apache 2.0a6 with the state threads > patches. Cool. > I've applied the patches, run "buildconf", and tried to run "configure", > which fails because it says I don't have... state threads. > > I thought they were part of the package? Well, it seems not, since the > configure script goes on to look for "st.h" and that doesn't appear in > my patched source tree. You must download the state threads library separately. I'll make that more explicit on the web site. > I downloaded the state threads code, and unpacked and built it, and sure > enough it's got the st.h header... > > My question is, has anyone already figured out how to point the apache > configure/make files at the location where the state threads package is > installed? You need either to install st.h and libst.so into your system's default locations (for example, /usr/include and /usr/lib, respectively) or to set some environment variables to point to where those files are. I just updated the STM's user's guide to answer this in more detail. See http://oss.sgi.com/projects/apache/stm.html#guide Thanks for bringing this to my attention. Please let me know if these instructions help, how I may improve them, and if I can help you in any other way. -- Michael J. Abbott mja@sgi.com http://reality.sgi.com/mja/ From owner-apache@oss.sgi.com Tue Sep 26 16:00:17 2000 Received: by oss.sgi.com id ; Tue, 26 Sep 2000 16:00:07 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:35635 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 26 Sep 2000 15:59:43 -0700 Received: from trudge.engr.sgi.com (trudge.engr.sgi.com [163.154.38.51]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id QAA06773 for ; Tue, 26 Sep 2000 16:06:07 -0700 (PDT) mail_from (mja@trudge.engr.sgi.com) Received: (from mja@localhost) by trudge.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id PAA81752; Tue, 26 Sep 2000 15:57:00 -0700 (PDT) From: mja@trudge.engr.sgi.com (Mike Abbott) Message-Id: <200009262257.PAA81752@trudge.engr.sgi.com> Subject: AAP patch 6 for 2.0a6 To: apache@oss.s