From owner-apache@oss.sgi.com Thu Dec 23 15:19:47 1999
Received:  by oss.sgi.com id <S305175AbPLWXTh>;
	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 <S305166AbPLWXTT>;
	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 <apache@oss.sgi.com>; 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: <owner-apache@oss.sgi.com>

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 <S305200AbPL2QOV>;
	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 <S305166AbPL2QOE>;
	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 <wim@comned.com>
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: <owner-apache@oss.sgi.com>

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 <S305180AbQAEBcc>;
	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 <S305166AbQAEBcJ>;
	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 <apache@oss.sgi.com>; 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: <owner-apache@oss.sgi.com>

> 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 <S305168AbQALAXJ>;
	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 <S305154AbQALAWn>; 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 <apache@oss.sgi.com>; 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: <owner-apache@oss.sgi.com>

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 <S305160AbQANIUD>;
	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 <S305154AbQANITp>; 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 <apache@oss.sgi.com>; 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: <owner-apache@oss.sgi.com>

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 <S305167AbQATVa0>;
	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 <S305156AbQATVaE>;
	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 <apache@oss.sgi.com>; 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: <Pine.LNX.4.10.10001190252060.25213-100000@empire.netrevolution.com> 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: <owner-apache@oss.sgi.com>

> 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 <S305166AbQAaVj5>;
	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 <S305160AbQAaVjs>;
	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 <apache@oss.sgi.com>; Mon, 31 Jan 2000 13:26:33 -0800 (PST)
From:   "Tech Mail" <tech@khouse.org>
To:     <apache@oss.sgi.com>
Subject: Binary of patched Apache
Date:   Mon, 31 Jan 2000 13:42:27 -0800
Message-ID: <NCBBKKCDKCGEGHHAACBIOEHCFJAA.tech@khouse.org>
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: <owner-apache@oss.sgi.com>

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 <S305203AbQBGXJ6>;
	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 <S305192AbQBGXJg>;
	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 <apache@oss.sgi.com>; 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: <NCBBKKCDKCGEGHHAACBIOEHCFJAA.tech@khouse.org> 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: <owner-apache@oss.sgi.com>

> 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 <S305172AbQBHKYq>;
	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 <S305161AbQBHKYW>;
	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" <lee.bolding@ukonline.co.uk>
From:   "Lee Bolding" <lee.bolding@ukonline.co.uk>
To:     <apache@oss.sgi.com>
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: <owner-apache@oss.sgi.com>

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 "<machine name> <user accounts>"

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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Can anybody help me out with this? its =
probably a=20
pretty dumb question...</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>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. </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>It seems to be configured correctly - I =
have setup=20
about 20 virtual hosts.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>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.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Whenever I try to connect to a =
VHost&nbsp;I get the=20
standard SGI webpage that says "&lt;machine name&gt; &lt;user=20
accounts&gt;"</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Is there a webserver already running =
that I need to=20
disable?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I've commented out httpd in the =
inetd.conf, and=20
also removed webface from the rc0.d</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>am I missing something =
here?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV></BODY></HTML>

------=_NextPart_000_0016_01BF721E.EA139340--


From owner-apache@oss.sgi.com Tue Feb  8 14:04:32 2000
Received:  by oss.sgi.com id <S305164AbQBHWEX>;
	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 <S305161AbQBHWD5>;
	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 <apache@oss.sgi.com>; 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: <owner-apache@oss.sgi.com>

> Whenever I try to connect to a VHost I get the standard SGI webpage that =
> says "<machine name> <user accounts>"
> 
> 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 <S305192AbQBKBKS>;
	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 <S305162AbQBKBKD>; 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 <apache@oss.sgi.com>; 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: <owner-apache@oss.sgi.com>

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 <S305200AbQCBAEB>;
	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 <S305167AbQCBADn>; 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 <apache@oss.sgi.com>; 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: <owner-apache@oss.sgi.com>

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 <S305177AbQCCXK7>;
	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 <S305162AbQCCXKe>;
	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 <apache@oss.sgi.com>; 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: <owner-apache@oss.sgi.com>

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 <S305170AbQCFIGk>;
	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 <S305162AbQCFIGe>;
	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 <marianig@orconet.com>
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: <owner-apache@oss.sgi.com>


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 <S305172AbQCFNXW>;
	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 <S305162AbQCFNW6>;
	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 <marianig@orconet.com>
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: <owner-apache@oss.sgi.com>

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 <S305155AbQCJX2j>;
	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 <S305154AbQCJX2T>;
	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 <apache@oss.sgi.com>; 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 <apache@oss.sgi.com>; 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: <owner-apache@oss.sgi.com>

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 <S305182AbQCVXeh>;
	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 <S305174AbQCVXeW>;
	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 <apache@oss.sgi.com>; 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 <apache@oss.sgi.com>; 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: <owner-apache@oss.sgi.com>

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 <S305215AbQC3ULQ>;
	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 <S305168AbQC3UK5>; 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 <ursus@usa.net>
To:     Mike Abbott <mja@sgi.com>
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: <owner-apache@oss.sgi.com>

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 <S305215AbQC3USQ>;
	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 <S305168AbQC3USN>; 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 <ursus@usa.net>
To:     Mike Abbott <mja@sgi.com>
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: <owner-apache@oss.sgi.com>

ursus <ursus@usa.net> 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 <S305217AbQC3XDL>;
	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 <S305168AbQC3XCs>; 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 <apache@oss.sgi.com>; 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: <owner-apache@oss.sgi.com>

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 <S305218AbQC3XVm>;
	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 <S305168AbQC3XVe>; 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 <apache@oss.sgi.com>; 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 <apache@oss.sgi.com>; 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: <owner-apache@oss.sgi.com>

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 <S305247AbQCaS5S>;
	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 <S305239AbQCaS5L>; 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 <ursus@usa.net>
To:     Mike Abbott <mja@sgi.com>
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: <owner-apache@oss.sgi.com>

Mike Abbott <mja@trudge.engr.sgi.com> 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 <S305252AbQCaTQL>;
	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 <S305239AbQCaTPs>;
	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 <marianig@orconet.com>
X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.5-15smp i686)
X-Accept-Language: en
MIME-Version: 1.0
To:     ursus <ursus@usa.net>
CC:     Mike Abbott <mja@sgi.com>, 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: <owner-apache@oss.sgi.com>

ursus wrote:

> Mike Abbott <mja@trudge.engr.sgi.com> 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 <S305167AbQDFFW1>;
	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 <S305166AbQDFFV6>; 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 <apache@oss.sgi.com>; 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 <apache@oss.sgi.com>; 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: <owner-apache@oss.sgi.com>

> 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 <S305172AbQDRDu4>;
	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 <S305161AbQDRDus>;
	Mon, 17 Apr 2000 20:50:48 -0700
Received: by mailbox.engr.sc.edu with Internet Mail Service (5.5.2448.0)
	id <GJMWDHQZ>; Mon, 17 Apr 2000 23:48:06 -0400
Message-ID: <D8AB9C5548AED211928B0090273CDDD7028CA7B2@mailbox.engr.sc.edu>
From:   "Gruen, Robert" <gruen@engr.sc.edu>
To:     "'apache@oss.sgi.com'" <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: <owner-apache@oss.sgi.com>

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 <S305186AbQDSAVC>;
	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 <S305185AbQDSAUq>;
	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 <apache@oss.sgi.com>; 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: <D8AB9C5548AED211928B0090273CDDD7028CA7B2@mailbox.engr.sc.edu> 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: <owner-apache@oss.sgi.com>

> 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 <S305175AbQELJyV>;
	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 <S305154AbQELJyH>;
	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 <apache@oss.sgi.com>; 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 <johny.q@scientist.com>
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: <owner-apache@oss.sgi.com>

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 <S305181AbQELWUd>;
	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 <S305154AbQELWUF>; 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 <apache@oss.sgi.com>; 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 <luke949@sympatico.ca>
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: <owner-apache@oss.sgi.com>

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 <S305171AbQEQKDp>;
	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 <S305154AbQEQKDQ>;
	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 <netchild@wjpserver.CS.Uni-SB.DE>
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: <owner-apache@oss.sgi.com>

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 <S305171AbQEQQ3i>;
	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 <S305154AbQEQQ3V>;
	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 <apache@oss.sgi.com>; 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 <Alexander@Leidinger.net>
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: <owner-apache@oss.sgi.com>

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 <S305176AbQERFVG>;
	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 <S305154AbQERFUk>; 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 <apache@oss.sgi.com>; 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: <owner-apache@oss.sgi.com>

> 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 <S305184AbQEROqc>;
	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 <S305181AbQEROqU>;
	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 <Alexander@Leidinger.net>
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: <owner-apache@oss.sgi.com>

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 <stdio.h>

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
 </PRE>
 <P>
+On x86 processors (x &gt;= 4) you have to use:</P>
+<PRE>
+  $ CFLAGS="-DUSE_QSC -DQSC_IA32_CAS" configure --enable-module=mmap_static
+  $ make
+</PRE>
+<P>
 (The QSC is an enhancement to core Apache, while mmap_static is an 
 Apache <A HREF="mod/index.html">module</A>.) There are also advanced 
 options to controlling QSC behavior, described <A HREF="#advanced">below</A>.</P>
@@ -600,7 +606,7 @@
 <H2>
 <A NAME="advanced">Advanced Options</A></H2>
 <P>
-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.</P>
 <TABLE BORDER="1" WIDTH="100%">
     <TR>
@@ -610,6 +616,14 @@
             Default: <CODE>USE_QSC</CODE> is not defined so the QSC is 
             disabled.</TD>
     </TR>
+        <TD WIDTH="25%"><CODE>QSC_IA32_CAS</CODE></TD>  
+        <TD><P>
+            Needed on the ia32 architecture (x86 processors, x &gt;= 4)
+            for an atomic compare and swap function.</P>
+            Default: <CODE>QSC_UA32_CAS</CODE> 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.</TD>
 </TABLE>
 <H3>
 <A NAME="debug">Debugging</A> / Additional Information</H3>
---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 <S42223AbQGGW6N>;
	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 <S42185AbQGGW5o>;
	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 <apache@oss.sgi.com>; 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." <rick@somers.net>
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: <owner-apache@oss.sgi.com>

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 <S42243AbQGHPAR>;
	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 <S42226AbQGHO7z>;
	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 <Alexander@Leidinger.net>
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: <owner-apache@oss.sgi.com>

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 <S42274AbQGSSbo>;
	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 <S42257AbQGSSbG>;
	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" <allan@freeview.com>
To:     "apache@oss.sgi.com" <apache@oss.sgi.com>
Date:   Wed, 19 Jul 2000 11:30:29 -0700
Reply-To: "Allan Rafuse" <allan@freeview.com>
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: <E13Eyhw-0003ad-00@mail.freeview.com>
Sender: owner-apache@oss.sgi.com
Precedence: bulk
Return-Path: <owner-apache@oss.sgi.com>

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 <S42275AbQGSSpO>;
	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 <S42257AbQGSSoe>;
	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 <apache@oss.sgi.com>; Wed, 19 Jul 2000 11:44:06 -0700
From:   "David Rees" <drees@ebetinc.com>
To:     <apache@oss.sgi.com>
Subject: RE: Applying Patches to 1.3.12
Date:   Wed, 19 Jul 2000 11:44:06 -0700
Message-ID: <NEBBIEFFHCCMKNCJDLLEKEAPCKAA.drees@ebetinc.com>
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: <E13Eyhw-0003ad-00@mail.freeview.com>
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Sender: owner-apache@oss.sgi.com
Precedence: bulk
Return-Path: <owner-apache@oss.sgi.com>

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 <S42277AbQGSTAo>;
	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 <S42274AbQGSTA1>; 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 <apache@oss.sgi.com>; 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: <E13Eyhw-0003ad-00@mail.freeview.com> 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: <owner-apache@oss.sgi.com>

> 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 <S42256AbQG0XJK>;
	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 <S42222AbQG0XJC>; 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: <owner-apache@oss.sgi.com>

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 <S42222AbQG1ClM>;
	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 <S42273AbQG1ClA>;
	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 <dgaudet-list-new-httpd@arctic.org>
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: <Pine.LNX.4.21.0007271931230.12848-100000@twinlark.arctic.org>
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: <owner-apache@oss.sgi.com>

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 <S42233AbQHGXSL>;
	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 <S42190AbQHGXRu>;
	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 <tcl@bunzy.net>
To:     apache@oss.sgi.com
Subject: accelerating apache/QSC. (fwd)
Message-ID: <Pine.LNX.4.10.10008071916080.31092-100000@magician.bunzy.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-apache@oss.sgi.com
Precedence: bulk
Return-Path: <owner-apache@oss.sgi.com>


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 <tcl@bunzy.net>
To: mja@sgi.com
Cc: tc lewis <tcl@bunzy.net>
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 <S42252AbQHHPHZ>;
	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 <S42218AbQHHPGs>;
	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 <Alexander@Leidinger.net>
Subject: Re: accelerating apache/QSC. (fwd)
To:     tcl@bunzy.net
cc:     apache@oss.sgi.com
In-Reply-To: <Pine.LNX.4.10.10008071916080.31092-100000@magician.bunzy.net>
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Sender: owner-apache@oss.sgi.com
Precedence: bulk
Return-Path: <owner-apache@oss.sgi.com>

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 <S42231AbQHHRqq>;
	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 <S42218AbQHHRqP>;
	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 <tcl@bunzy.net>
To:     Alexander Leidinger <Alexander@Leidinger.net>
cc:     apache@oss.sgi.com
Subject: Re: accelerating apache/QSC. (fwd)
In-Reply-To: <200008081103.NAA02282@Magelan.Leidinger.net>
Message-ID: <Pine.LNX.4.10.10008081341580.6890-100000@magician.bunzy.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-apache@oss.sgi.com
Precedence: bulk
Return-Path: <owner-apache@oss.sgi.com>



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:

<IfModule mod_mmap_static.c>
    QSC on
</IfModule>

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 <S42231AbQHHRvq>;
	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 <S42218AbQHHRv1>;
	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 <jeremy@xxedgexx.com>
X-Sender: jeremy@srv1.ecropolis.com
To:     tc lewis <tcl@bunzy.net>
cc:     Alexander Leidinger <Alexander@Leidinger.net>, apache@oss.sgi.com
Subject: Re: accelerating apache/QSC. (fwd)
In-Reply-To: <Pine.LNX.4.10.10008081341580.6890-100000@magician.bunzy.net>
Message-ID: <Pine.LNX.4.21.0008081348370.13861-100000@srv1.ecropolis.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-apache@oss.sgi.com
Precedence: bulk
Return-Path: <owner-apache@oss.sgi.com>


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:
> 
> <IfModule mod_mmap_static.c>
>     QSC on
> </IfModule>
> 
> 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 <S42253AbQHHSq5>;
	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 <S42218AbQHHSq2>;
	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 <tcl@bunzy.net>
To:     Jeremy Hansen <jeremy@xxedgexx.com>
cc:     Alexander Leidinger <Alexander@Leidinger.net>, apache@oss.sgi.com
Subject: Re: accelerating apache/QSC. (fwd)
In-Reply-To: <Pine.LNX.4.21.0008081348370.13861-100000@srv1.ecropolis.com>
Message-ID: <Pine.LNX.4.10.10008081445240.6890-100000@magician.bunzy.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-apache@oss.sgi.com
Precedence: bulk
Return-Path: <owner-apache@oss.sgi.com>


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:
> > 
> > <IfModule mod_mmap_static.c>
> >     QSC on
> > </IfModule>
> > 
> > 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 <S42257AbQHHStg>;
	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 <S42218AbQHHStK>;
	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 <jeremy@xxedgexx.com>
X-Sender: jeremy@srv1.ecropolis.com
To:     tc lewis <tcl@bunzy.net>
cc:     Alexander Leidinger <Alexander@Leidinger.net>, apache@oss.sgi.com
Subject: Re: accelerating apache/QSC. (fwd)
In-Reply-To: <Pine.LNX.4.10.10008081445240.6890-100000@magician.bunzy.net>
Message-ID: <Pine.LNX.4.21.0008081448100.16233-100000@srv1.ecropolis.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-apache@oss.sgi.com
Precedence: bulk
Return-Path: <owner-apache@oss.sgi.com>


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:
> > > 
> > > <IfModule mod_mmap_static.c>
> > >     QSC on
> > > </IfModule>
> > > 
> > > 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 <S42231AbQHIKMx>;
	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 <S42196AbQHIKM2>;
	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 <Alexander@Leidinger.net>
Subject: Re: accelerating apache/QSC. (fwd)
To:     jeremy@xxedgexx.com
cc:     tcl@bunzy.net, apache@oss.sgi.com
In-Reply-To: <Pine.LNX.4.21.0008081348370.13861-100000@srv1.ecropolis.com>
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Sender: owner-apache@oss.sgi.com
Precedence: bulk
Return-Path: <owner-apache@oss.sgi.com>

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 <S42196AbQHIKND>;
	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 <S42226AbQHIKMk>;
	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 <Alexander@Leidinger.net>
Subject: Re: accelerating apache/QSC. (fwd)
To:     tcl@bunzy.net
cc:     apache@oss.sgi.com
In-Reply-To: <Pine.LNX.4.10.10008081341580.6890-100000@magician.bunzy.net>
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Sender: owner-apache@oss.sgi.com
Precedence: bulk
Return-Path: <owner-apache@oss.sgi.com>

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:
> 
> <IfModule mod_mmap_static.c>
>     QSC on
> </IfModule>
> 
> 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 <S42231AbQHIMbd>;
	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 <S42196AbQHIMbE>;
	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 <Alexander@Leidinger.net>
Subject: Re: accelerating apache/QSC. (fwd)
To:     jeremy@xxedgexx.com
cc:     tcl@bunzy.net, apache@oss.sgi.com
In-Reply-To: <Pine.LNX.4.21.0008081448100.16233-100000@srv1.ecropolis.com>
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Sender: owner-apache@oss.sgi.com
Precedence: bulk
Return-Path: <owner-apache@oss.sgi.com>

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 <S42196AbQHIMbo>;
	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 <S42226AbQHIMbO>;
	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 <Alexander@Leidinger.net>
Subject: Re: accelerating apache/QSC. (fwd)
To:     tcl@bunzy.net
cc:     jeremy@xxedgexx.com, apache@oss.sgi.com
In-Reply-To: <Pine.LNX.4.10.10008081445240.6890-100000@magician.bunzy.net>
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Sender: owner-apache@oss.sgi.com
Precedence: bulk
Return-Path: <owner-apache@oss.sgi.com>

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 <S42342AbQHQAIP>;
	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 <S42279AbQHQAH7>; 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 <apache@oss.sgi.com>; 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: <Pine.LNX.4.10.10008071916080.31092-100000@magician.bunzy.net> 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: <owner-apache@oss.sgi.com>

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 <S42344AbQHQA4z>;
	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 <S42279AbQHQA4j>;
	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 <tcl@bunzy.net>
To:     Mike Abbott <mja@trudge.engr.sgi.com>
cc:     apache@oss.sgi.com
Subject: Re: accelerating apache/QSC. (fwd)
In-Reply-To: <200008170006.RAA19278@trudge.engr.sgi.com>
Message-ID: <Pine.LNX.4.10.10008162046540.3651-100000@magician.bunzy.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-apache@oss.sgi.com
Precedence: bulk
Return-Path: <owner-apache@oss.sgi.com>


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 <S42278AbQHXV3e>;
	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 <S42240AbQHXV3D>;
	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 <apache@oss.sgi.com>; 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 <apache@oss.sgi.com>; 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: <owner-apache@oss.sgi.com>

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 <S42240AbQHXVkO>;
	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 <S42203AbQHXVjx>;
	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 <jim@jaguNET.com>
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: <owner-apache@oss.sgi.com>

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 <S42256AbQIHFzj>;
	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 <S42247AbQIHFzV>;
	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 <apache@oss.sgi.com>; 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: <owner-apache@oss.sgi.com>

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 <S42429AbQIUF1j>;
	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 <S42315AbQIUF1T>;
	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 <apache@oss.sgi.com>; 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: <owner-apache@oss.sgi.com>

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 <S42430AbQIUGC7>;
	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 <S42315AbQIUGCg>;
	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 <apache@oss.sgi.com>; 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 <apache@oss.sgi.com>; 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: <owner-apache@oss.sgi.com>

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 <S42432AbQIUHlU>;
	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 <S42315AbQIUHkt>;
	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 <apache@oss.sgi.com>; 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 <apache@oss.sgi.com>; Thu, 21 Sep 2000 16:40:47 +0900 (JST)
Date:   Thu, 21 Sep 2000 16:40:46 +0900 (JST)
From:   Kevin Ying <kevin@interq.or.jp>
To:     apache@oss.sgi.com
Subject: 10x Patches -- Solaris 8 yet?
Message-ID: <Pine.GSO.4.21.0009211640040.8734-100000@imap.interq.or.jp>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-apache@oss.sgi.com
Precedence: bulk
Return-Path: <owner-apache@oss.sgi.com>

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 <S42252AbQIVPwo>;
	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 <S42204AbQIVPwj>;
	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 <apache@oss.sgi.com>; 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 <ncaruso@gamesville.com>
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: <owner-apache@oss.sgi.com>

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 <S42299AbQIYXCs>;
	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 <S42201AbQIYXCN>;
	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 <apache@oss.sgi.com>; 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 <apache@oss.sgi.com>; 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: <owner-apache@oss.sgi.com>

> 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 <S42267AbQIZXAH>;
	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 <S42229AbQIZW7n>; 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 <apache@oss.sgi.com>; 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.sgi.com, new-httpd@apache.org
Date:   Tue, 26 Sep 2000 15:57:00 -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: <owner-apache@oss.sgi.com>

There's another patch for Apache/2.0a6 from the Accelerating Apache
Project.

Like the last few, patch #6 ports part of the AAP's work from 1.3 to
2.0, this time focusing on request reading and HTTP/1.1 hostname fixups.

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 27 17:13:45 2000
Received:  by oss.sgi.com id <S42371AbQI1ANf>;
	Wed, 27 Sep 2000 17:13:35 -0700
Received: from deliverator.sgi.com ([204.94.214.10]:33644 "EHLO
        deliverator.sgi.com") by oss.sgi.com with ESMTP id <S42278AbQI1ANX>;
	Wed, 27 Sep 2000 17:13:23 -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 RAA21483
	for <apache@oss.sgi.com>; Wed, 27 Sep 2000 17:05:39 -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 RAA16481; Wed, 27 Sep 2000 17:11:10 -0700 (PDT)
From:   mja@trudge.engr.sgi.com (Mike Abbott)
Message-Id: <200009280011.RAA16481@trudge.engr.sgi.com>
Subject: AAP patch 7 for 2.0a6
To:     apache@oss.sgi.com, new-httpd@apache.org
Date:   Wed, 27 Sep 2000 17:11:09 -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: <owner-apache@oss.sgi.com>

Someone pointed out that mod_file_cache is replacing mod_mmap_static in
2.0.  AAP patch #7 for Apache/2.0a6 ports optimizations from prior AAP
patches for mod_mmap_static to mod_file_cache and makes mod_file_cache
easier to configure into Apache.

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 28 06:26:09 2000
Received:  by oss.sgi.com id <S42349AbQI1NZt>;
	Thu, 28 Sep 2000 06:25:49 -0700
Received: from gtw.nineco.com ([206.166.153.130]:60150 "EHLO gamesville.com")
	by oss.sgi.com with ESMTP id <S42347AbQI1NZl>;
	Thu, 28 Sep 2000 06:25:41 -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 JAA19902;
	Thu, 28 Sep 2000 09:23:54 -0400
Message-ID: <39D3466A.1A681379@gamesville.com>
Date:   Thu, 28 Sep 2000 09:23:54 -0400
From:   Nick Caruso <ncaruso@gamesville.com>
Organization: dis
X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.13 i686)
X-Accept-Language: en
MIME-Version: 1.0
To:     Mike Abbott <mja@trudge.engr.sgi.com>
CC:     apache@oss.sgi.com
Subject: Re: anyone gotten the 2.0a6 patches to work?
References: <200009252257.PAA67927@trudge.engr.sgi.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-apache@oss.sgi.com
Precedence: bulk
Return-Path: <owner-apache@oss.sgi.com>

Mike Abbott wrote:

> > I'm trying to build a version of apache 2.0a6 with the state threads
> > patches.
>
> Cool.

Built it last week, successfully.  Been out sick the last couple of days.

> > 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)

Mr. System Administrator Man frowns disapprovingly and does not give me the
root password.

> 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

I managed, by sticking "-L" and "-I" options in everywhere I could, to
finally bludgeon the thing into compiling.  I may have had to set
LD_LIBRARY_PATH in the environment as well.  I was hoping someone knew a way
to trick "configure" into doing all this for me...

I'm trying to do a rough benchmark comparison of Apache 2.0 with your patches
and "Proprietary Web Server X", both running on an 8-processor SGI box.

Any suggestions?  I've been running a bunch of perl scripts on people's
desktop boxes, each doing a fetch of a 40k page of static HTML.  The two
servers look comparable, but 1) the times are all over the place, seeming to
imply that I'm actually measuring overhead from the desktop machines and not
the server response time, and 2) the cpu utilization on the server never
breaks 2 or 3 percent, for either web server.

   thanks and best regards,
       ncc



From owner-apache@oss.sgi.com Thu Sep 28 16:18:09 2000
Received:  by oss.sgi.com id <S42392AbQI1XRt>;
	Thu, 28 Sep 2000 16:17:49 -0700
Received: from deliverator.sgi.com ([204.94.214.10]:51535 "EHLO
        deliverator.sgi.com") by oss.sgi.com with ESMTP id <S42190AbQI1XR1>;
	Thu, 28 Sep 2000 16:17:27 -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 QAA06360
	for <apache@oss.sgi.com>; Thu, 28 Sep 2000 16:09:42 -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 QAA49946 for apache@oss.sgi.com; Thu, 28 Sep 2000 16:15:14 -0700 (PDT)
From:   mja@trudge.engr.sgi.com (Mike Abbott)
Message-Id: <200009282315.QAA49946@trudge.engr.sgi.com>
Subject: Re: anyone gotten the 2.0a6 patches to work?
To:     apache@oss.sgi.com
Date:   Thu, 28 Sep 2000 16:15:14 -0700 (PDT)
In-Reply-To: <39D3466A.1A681379@gamesville.com> from "Nick Caruso" at Sep 28, 2000 09:23:54 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: <owner-apache@oss.sgi.com>

> I'm trying to do a rough benchmark comparison of Apache 2.0 with your patches
> and "Proprietary Web Server X", both running on an 8-processor SGI box.
> 
> Any suggestions?  I've been running a bunch of perl scripts on people's
> desktop boxes, each doing a fetch of a 40k page of static HTML.  The two
> servers look comparable, but 1) the times are all over the place, seeming to
> imply that I'm actually measuring overhead from the desktop machines and not
> the server response time, and 2) the cpu utilization on the server never
> breaks 2 or 3 percent, for either web server.

I don't know how to share my years of experience benchmarking web
servers in an e-mail message, but I can sum up a few shiny bits of lore
and some starting points.  First, if your server's CPUs aren't 100%
utilized you're benchmarking your clients or the network not the web
server and your comparisons are meaningless.  When I run benchmarks I
need two to four load generating clients per server CPU over a fast
network like a private 100BaseT or gigabit ethernet.  For instance, to
max out a 4 CPU Origin2000 I use 16 2-CPU Origin200s connected via 4
private GbE networks.  Double all that for 8 server CPUs.  Anything less
just won't place enough load on the server.

Requesting a single web page over and over does not accurately model
real-world loads on web servers.  The SPECweb96 benchmark requested a
large number of static files over and over and is now obsolete due to
its limited capabilities.  SPECweb99 issues both static and dynamic
requests.  Read more about them at http://www.spec.org .

There are lots of performance analysis tools available for your
unidentified SGI box.  Check out SpeedShop, osview, perfex, sar, par,
Performance Co-Pilot, xbstat, and WindView for starters.  Information
about all of these tools is available from http://techpubs.sgi.com .
Remember to tune all parts of your system:  the web server application,
the kernel, device drivers, the hardware.

Read SGI's Web Performance Tuning Guide at http://www.sgi.com/tech/web/
and SGI's SPECweb96 disclosures from www.spec.org, such as
http://www.spec.org/osg/web96/results/res2000q1/web96-20000124-03351.html
for descriptions of how to tune your system for high performance web
serving.

Since you decline to identify your "Proprietary Web Server X" I can't
quote a specific performance comparison, but I can say that the
Accelerating Apache Project's patches make a properly tuned
Apache/1.3.12 run faster than every other web server I tested on Irix
and Linux, including the latest from Zeus and Netscape/iPlanet, on the
SPECweb96 benchmark.  I'm tuning Apache/2.0 now, focusing on SPECweb99,
and I expect it to perform similarly by the time I finish.

Finally, since you're measuring the performance of an SGI machine, SGI
may be able to help you.  Contact your local SGI service representative
or SGI Managed Services and tell them I sent you.
http://www.sgi.com/services/managed_services/

Have fun!
-- 
Michael J. Abbott        mja@sgi.com        http://reality.sgi.com/mja/


From owner-apache@oss.sgi.com Thu Sep 28 22:39:41 2000
Received:  by oss.sgi.com id <S42248AbQI2FjV>;
	Thu, 28 Sep 2000 22:39:21 -0700
Received: from deliverator.sgi.com ([204.94.214.10]:1805 "EHLO
        deliverator.sgi.com") by oss.sgi.com with ESMTP id <S42190AbQI2FjA>;
	Thu, 28 Sep 2000 22:39:00 -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 WAA04784
	for <apache@oss.sgi.com>; Thu, 28 Sep 2000 22:31:16 -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 WAA74055; Thu, 28 Sep 2000 22:36:49 -0700 (PDT)
From:   mja@trudge.engr.sgi.com (Mike Abbott)
Message-Id: <200009290536.WAA74055@trudge.engr.sgi.com>
Subject: AAP patch 8 for 2.0a6
To:     apache@oss.sgi.com, new-httpd@apache.org
Date:   Thu, 28 Sep 2000 22:36:48 -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: <owner-apache@oss.sgi.com>

The Accelerating Apache Project announces another patch for
Apache/2.0a6.

Patch #8 ports more of the AAP's work from 1.3 to 2.0, this time
optimizing request reading.

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 Oct 11 23:29:33 2000
Received:  by oss.sgi.com id <S42207AbQJLG3W>;
	Wed, 11 Oct 2000 23:29:22 -0700
Received: from pneumatic-tube.sgi.com ([204.94.214.22]:24399 "EHLO
        pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP
	id <S42180AbQJLG3D>; Wed, 11 Oct 2000 23:29:03 -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 XAA09274
	for <apache@oss.sgi.com>; Wed, 11 Oct 2000 23:35:22 -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 XAA73789; Wed, 11 Oct 2000 23:26:05 -0700 (PDT)
From:   mja@trudge.engr.sgi.com (Mike Abbott)
Message-Id: <200010120626.XAA73789@trudge.engr.sgi.com>
Subject: AAP patch 9 for 2.0a6
To:     apache@oss.sgi.com, new-httpd@apache.org
Date:   Wed, 11 Oct 2000 23:26:05 -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: <owner-apache@oss.sgi.com>

The Accelerating Apache Project announces another patch for
Apache/2.0a6.

Patch #9 ports more of the AAP's work from 1.3 to 2.0, this time
the Quick Shortcut Cache (QSC).

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 Mon Oct 16 12:11:12 2000
Received:  by oss.sgi.com id <S553687AbQJPTKw>;
	Mon, 16 Oct 2000 12:10:52 -0700
Received: from magician.bunzy.net ([206.245.168.220]:6919 "HELO
        magician.bunzy.net") by oss.sgi.com with SMTP id <S553651AbQJPTKX>;
	Mon, 16 Oct 2000 12:10:23 -0700
Received: (qmail 16440 invoked by uid 500); 16 Oct 2000 19:10:16 -0000
Received: from localhost (sendmail-bs@127.0.0.1)
  by localhost with SMTP; 16 Oct 2000 19:10:16 -0000
Date:   Mon, 16 Oct 2000 15:10:16 -0400 (EDT)
From:   tc lewis <tcl@bunzy.net>
To:     apache@oss.sgi.com
Subject: apache 1.3.14.
Message-ID: <Pine.LNX.4.10.10010161508570.11312-100000@magician.bunzy.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-apache@oss.sgi.com
Precedence: bulk
Return-Path: <owner-apache@oss.sgi.com>


i just saw that in 1.3.13 (unreleased), some of those sgi patches were
worked in:

  *) Merged in a small subset of SGI's latest `10x' patchkit for Apache
     1.3.11. The extracted and merged in parts are entirely cleanup and
     non-performance related changes only. SGI's remaining changes are
     not taken over, because they are either cluttering the Apache 1.3
     sources too much (e.g. the lint(1) related changes) or cause too
     much internal changes (e.g. the ap_int32 types, etc.) which are not
     reasonable to do any longer for Apache 1.3 (they should be done for
     Apache 2.0 instead).
     [Mike Abbott <mja@sgi.com>, Ralf S. Engelschall]


awesome stuff.

-tcl.


From owner-apache@oss.sgi.com Mon Nov 13 16:48:44 2000
Received:  by oss.sgi.com id <S553844AbQKNAse>;
	Mon, 13 Nov 2000 16:48:34 -0800
Received: from deliverator.sgi.com ([204.94.214.10]:22342 "EHLO
        deliverator.sgi.com") by oss.sgi.com with ESMTP id <S553725AbQKNAsO>;
	Mon, 13 Nov 2000 16:48:14 -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 QAA06079
	for <apache@oss.sgi.com>; Mon, 13 Nov 2000 16:40:23 -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 QAA13717 for apache@oss.sgi.com; Mon, 13 Nov 2000 16:46:13 -0800 (PST)
From:   mja@trudge.engr.sgi.com (Mike Abbott)
Message-Id: <200011140046.QAA13717@trudge.engr.sgi.com>
Subject: Patch for Apache/1.3.14 available
To:     apache@oss.sgi.com
Date:   Mon, 13 Nov 2000 16:46:13 -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: <owner-apache@oss.sgi.com>

The Accelerating Apache Project announces the availability of its
enhancements for Apache/1.3.14.  (Thanks for being patient, I've been
busy on another assignment.)
	http://oss.sgi.com/projects/apache/
-- 
Michael J. Abbott        mja@sgi.com        http://reality.sgi.com/mja/

From owner-apache@oss.sgi.com Fri Nov 17 16:33:36 2000
Received:  by oss.sgi.com id <S553821AbQKRAd1>;
	Fri, 17 Nov 2000 16:33:27 -0800
Received: from [199.185.13.18] ([199.185.13.18]:48261 "EHLO mezcal.gemini.com")
	by oss.sgi.com with ESMTP id <S553761AbQKRAdM>;
	Fri, 17 Nov 2000 16:33:12 -0800
Received: from sambucca (sambucca.gemini.com [199.185.13.12])
	by mezcal.gemini.com (8.11.1/8.9.3) with SMTP id eAI0YKD07676
	for <apache@oss.sgi.com>; Fri, 17 Nov 2000 17:34:21 -0700 (MST)
Reply-To: <Syafilil@gemini.com>
From:   "Syafili Lie" <Syafilil@gemini.com>
To:     <apache@oss.sgi.com>
Subject: Help on CGI Configuration on Server
Date:   Fri, 17 Nov 2000 17:33:08 -0700
Message-ID: <001c01c050f7$203014a0$0c0db9c7@gemini.com>
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 CWS, Build 9.0.2416 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Sender: owner-apache@oss.sgi.com
Precedence: bulk
Return-Path: <owner-apache@oss.sgi.com>

I have just installed Apache on my server and would like to configure the
server for CGI. I have setup the httpd.conf file such that ScriptAlias
/cgi-bin/ /home/www/cgi-bin The cgi-bin directory has also been configured
for Option Includes ExecCGI. The Server Side Includes work fine, however, my
counter.cgi in that directory does not work. Apache error log shows that
"(2)No such file or directory exist".

Please help. Thank you.

Syafili.


From owner-apache@oss.sgi.com Fri Nov 17 21:09:12 2000
Received:  by oss.sgi.com id <S553763AbQKRFJC>;
	Fri, 17 Nov 2000 21:09:02 -0800
Received: from deliverator.sgi.com ([204.94.214.10]:22831 "EHLO
        deliverator.sgi.com") by oss.sgi.com with ESMTP id <S553668AbQKRFIn>;
	Fri, 17 Nov 2000 21:08:43 -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 VAA15520
	for <apache@oss.sgi.com>; Fri, 17 Nov 2000 21:00:51 -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 VAA34365 for <apache@oss.sgi.com>; Fri, 17 Nov 2000 21:06:57 -0800 (PST)
Received: (from mja@localhost) by trudge.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id VAA70707; Fri, 17 Nov 2000 21:03:40 -0800 (PST)
From:   mja@trudge.engr.sgi.com (Mike Abbott)
Message-Id: <200011180503.VAA70707@trudge.engr.sgi.com>
Subject: Re: Help on CGI Configuration on Server
To:     Syafilil@gemini.com
Date:   Fri, 17 Nov 2000 21:03:40 -0800 (PST)
Cc:     apache@oss.sgi.com
In-Reply-To: <001c01c050f7$203014a0$0c0db9c7@gemini.com> from "Syafili Lie" at Nov 17, 2000 05:33:08 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: <owner-apache@oss.sgi.com>

> I have just installed Apache on my server and would like to configure the
> server for CGI. I have setup the httpd.conf file such that ScriptAlias
> /cgi-bin/ /home/www/cgi-bin The cgi-bin directory has also been configured
> for Option Includes ExecCGI. The Server Side Includes work fine, however, my
> counter.cgi in that directory does not work. Apache error log shows that
> "(2)No such file or directory exist".
> 
> Please help. Thank you.

This mailing list is for information and support regarding the
Accelerating Apache Project, not Apache in general.  However, I wonder
if your counter.cgi program runs standalone -- does it run successfully
from the shell as the same user and group that Apache uses?
-- 
Michael J. Abbott        mja@sgi.com        http://reality.sgi.com/mja/

From owner-apache@oss.sgi.com Thu Jan 25 23:30:12 2001
Received:  by oss.sgi.com id <S553683AbRAZHaD>;
	Thu, 25 Jan 2001 23:30:03 -0800
Received: from bmw.cobaka.com ([209.67.40.174]:1798 "EHLO bmw.cobaka.com")
	by oss.sgi.com with ESMTP id <S553645AbRAZH3y>;
	Thu, 25 Jan 2001 23:29:54 -0800
Received: from FAME (root@bmw.cobaka.com [209.67.40.174])
	by bmw.cobaka.com (8.9.3/8.9.1) with SMTP id XAA82266
	for <apache@oss.sgi.com>; Thu, 25 Jan 2001 23:29:53 -0800 (PST)
Message-ID: <001201c08769$dbb56d30$9865fea9@FAME>
From:   "Phil Rosenthal" <winter@villaweb.net>
To:     <apache@oss.sgi.com>
Subject: SIGABRT after using the accelerating apache patch on FBSD 4.2
Date:   Fri, 26 Jan 2001 02:30:28 -0500
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_000F_01C0873F.F27A88E0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.60.2296.0000
X-MimeOLE: Produced By Microsoft MimeOLE V5.60.2296.0000
Sender: owner-apache@oss.sgi.com
Precedence: bulk
Return-Path: <owner-apache@oss.sgi.com>

This is a multi-part message in MIME format.

------=_NextPart_000_000F_01C0873F.F27A88E0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello,
I just set up a server 2 days ago, and the apache is compiled using the =
accelerating apache patch.
the box is pushing about 10 megabit all day every day.
I notice that about once every 2 hours, i have a SIGABRT from an apache =
process, and i found this accompanying every SIGABRT in the error_log
[Fri Jan 26 00:29:13 2001] file http_protocol.c, line 996, assertion =
"&fb->inptr[n] <=3D &fb->inbase[fb->bufsiz]" failed
[Fri Jan 26 00:29:13 2001] [notice] child pid 60862 exit signal Abort =
trap (6)


any ideas?
--Phil

------=_NextPart_000_000F_01C0873F.F27A88E0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.60.2296.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I just set up a server 2 days ago, and =
the apache=20
is compiled using the accelerating apache patch.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>the box is pushing about 10 megabit all =
day every=20
day.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I notice that about once every 2 hours, =
i have a=20
SIGABRT from an apache process, and i found this accompanying every =
SIGABRT in=20
the error_log</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>[Fri Jan 26 00:29:13 2001] file =
http_protocol.c,=20
line 996, assertion "&amp;fb-&gt;inptr[n] &lt;=3D=20
&amp;fb-&gt;inbase[fb-&gt;bufsiz]" failed<BR>[Fri Jan 26 00:29:13 2001] =
[notice]=20
child pid 60862 exit signal Abort trap (6)<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>any ideas?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>--Phil</DIV></FONT></BODY></HTML>

------=_NextPart_000_000F_01C0873F.F27A88E0--


From owner-apache@oss.sgi.com Tue Feb 20 17:11:09 2001
Received:  by oss.sgi.com id <S553948AbRBUBK7>;
	Tue, 20 Feb 2001 17:10:59 -0800
Received: from deliverator.sgi.com ([204.94.214.10]:5239 "EHLO
        deliverator.sgi.com") by oss.sgi.com with ESMTP id <S553944AbRBUBKo>;
	Tue, 20 Feb 2001 17:10:44 -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 RAA18284
	for <apache@oss.sgi.com>; Tue, 20 Feb 2001 17:09:41 -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 RAA75704 for apache@oss.sgi.com; Tue, 20 Feb 2001 17:08:50 -0800 (PST)
From:   mja@trudge.engr.sgi.com (Mike Abbott)
Message-Id: <200102210108.RAA75704@trudge.engr.sgi.com>
Subject: How to help the AAP
To:     apache@oss.sgi.com
Date:   Tue, 20 Feb 2001 17:08:50 -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: <owner-apache@oss.sgi.com>

In a story I read to my kids, only Horton the elephant (with his large
ears) hears the tiny Whos inhabiting a dust mote.  The other jungle
animals threaten to boil the mote in oil unless the Whos shout loud
enough for them to hear.  Only when all the Whos, including the very
smallest, yell together do the other animals hear and believe.  [Horton
Hears a Who, by Dr. Seuss.]

Now is the time for all you Accelerating Apache Project supporters, no
matter how small, to voice your support for this project to the ASF.  As
I announced a month ago on the project site I can't keep porting the
patches to new versions of Apache.  If the ASF adopts them into the main
stream you won't need me to.  They have declined, but they may change
their minds if you vouch for the stability, usefulness, and speed of the
patches.  Quantify the number of sites, systems, and different platforms
on which you use the patches.  Tell them you value speed as well as
portability.  Explain what you want now, because they don't know.  They
don't hear me, a single voice, but they may hear a chorus.

Mail your statements in support of the AAP to:  new-httpd@apache.org
-- 
Michael J. Abbott        mja@sgi.com        http://reality.sgi.com/mja/
Accelerating Apache Project         http://oss.sgi.com/projects/apache/

From owner-apache@oss.sgi.com Wed Feb 21 04:40:04 2001
Received:  by oss.sgi.com id <S553816AbRBUMjp>;
	Wed, 21 Feb 2001 04:39:45 -0800
Received: from mout0.freenet.de ([194.97.50.131]:59789 "EHLO mout0.freenet.de")
	by oss.sgi.com with ESMTP id <S553747AbRBUMjg>;
	Wed, 21 Feb 2001 04:39:36 -0800
Received: from [194.97.50.138] (helo=mx0.freenet.de)
	by mout0.freenet.de with esmtp (Exim 3.22 #1)
	id 14VYYQ-0004Zh-00; Wed, 21 Feb 2001 13:39:34 +0100
Received: from b826b.pppool.de ([213.7.130.107] helo=Magelan.Leidinger.net)
	by mx0.freenet.de with esmtp (Exim 3.22 #1)
	id 14VYYN-0006Uq-00; Wed, 21 Feb 2001 13:39:34 +0100
Received: from Leidinger.net (netchild@localhost [127.0.0.1])
	by Magelan.Leidinger.net (8.11.2/8.11.2) with ESMTP id f1LAnoC02157;
	Wed, 21 Feb 2001 11:49:51 +0100 (CET)
	(envelope-from netchild@Leidinger.net)
Message-Id: <200102211049.f1LAnoC02157@Magelan.Leidinger.net>
Date:   Wed, 21 Feb 2001 11:49:48 +0100 (CET)
From:   Alexander Leidinger <Alexander@Leidinger.net>
Subject: Re: How to help the AAP
To:     mja@trudge.engr.sgi.com
cc:     apache@oss.sgi.com
In-Reply-To: <200102210108.RAA75704@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: <owner-apache@oss.sgi.com>

On 20 Feb, Mike Abbott wrote:

> Now is the time for all you Accelerating Apache Project supporters, no
> matter how small, to voice your support for this project to the ASF.  As
> I announced a month ago on the project site I can't keep porting the
> patches to new versions of Apache.  If the ASF adopts them into the main
> stream you won't need me to.  They have declined, but they may change
> their minds if you vouch for the stability, usefulness, and speed of the
> patches.  Quantify the number of sites, systems, and different platforms
> on which you use the patches.  Tell them you value speed as well as
> portability.  Explain what you want now, because they don't know.  They
> don't hear me, a single voice, but they may hear a chorus.

Can you point us to some explanation why the ASF decided to decline?

Bye,
Alexander.

-- 
                   Press every key to continue.

http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7


From owner-apache@oss.sgi.com Wed Feb 21 05:16:35 2001
Received:  by oss.sgi.com id <S553939AbRBUNQY>;
	Wed, 21 Feb 2001 05:16:24 -0800
Received: from [212.106.193.79] ([212.106.193.79]:48019 "EHLO exc.ya.com")
	by oss.sgi.com with ESMTP id <S553851AbRBUNQI>;
	Wed, 21 Feb 2001 05:16:08 -0800
Received: from dcruz ([212.106.206.40]) by exc.ya.com
          (Post.Office MTA v3.5.3 release 223 ID# 0-65318U1000L100S0V35)
          with SMTP id com for <apache@oss.sgi.com>;
          Wed, 21 Feb 2001 14:15:41 +0100
From:   "David Cruz Langreo" <kitai@ya.com>
To:     <apache@oss.sgi.com>
Subject: RE: How to help the AAP
Date:   Wed, 21 Feb 2001 14:18:04 +0100
Message-ID: <CPEJJLDMPNFPBLOIMNHMAEJLCMAA.kitai@ya.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
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)
In-Reply-To: <200102211049.f1LAnoC02157@Magelan.Leidinger.net>
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Importance: Normal
Sender: owner-apache@oss.sgi.com
Precedence: bulk
Return-Path: <owner-apache@oss.sgi.com>

Just give an e-mail to send it.

Kitai
Ya.com Platform Team
www.ya.com

-----Mensaje original-----
De: owner-apache@oss.sgi.com [mailto:owner-apache@oss.sgi.com]En nombre
de Alexander Leidinger
Enviado el: miercoles, 21 de febrero de 2001 11:50
Para: mja@trudge.engr.sgi.com
CC: apache@oss.sgi.com
Asunto: Re: How to help the AAP


On 20 Feb, Mike Abbott wrote:

> Now is the time for all you Accelerating Apache Project supporters, no
> matter how small, to voice your support for this project to the ASF.  As
> I announced a month ago on the project site I can't keep porting the
> patches to new versions of Apache.  If the ASF adopts them into the main
> stream you won't need me to.  They have declined, but they may change
> their minds if you vouch for the stability, usefulness, and speed of the
> patches.  Quantify the number of sites, systems, and different platforms
> on which you use the patches.  Tell them you value speed as well as
> portability.  Explain what you want now, because they don't know.  They
> don't hear me, a single voice, but they may hear a chorus.

Can you point us to some explanation why the ASF decided to decline?

Bye,
Alexander.

-- 
                   Press every key to continue.

http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7



From owner-apache@oss.sgi.com Wed Feb 21 13:56:47 2001
Received:  by oss.sgi.com id <S553972AbRBUV4h>;
	Wed, 21 Feb 2001 13:56:37 -0800
Received: from deliverator.sgi.com ([204.94.214.10]:62547 "EHLO
        deliverator.sgi.com") by oss.sgi.com with ESMTP id <S553966AbRBUV4U>;
	Wed, 21 Feb 2001 13:56:20 -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 NAA00633
	for <apache@oss.sgi.com>; Wed, 21 Feb 2001 13:55:15 -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 NAA87715 for <apache@oss.sgi.com>; Wed, 21 Feb 2001 13:55:48 -0800 (PST)
Received: (from mja@localhost) by trudge.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id NAA71757; Wed, 21 Feb 2001 13:53:50 -0800 (PST)
From:   mja@trudge.engr.sgi.com (Mike Abbott)
Message-Id: <200102212153.NAA71757@trudge.engr.sgi.com>
Subject: Re: How to help the AAP
To:     Alexander@Leidinger.net (Alexander Leidinger)
Date:   Wed, 21 Feb 2001 13:53:50 -0800 (PST)
Cc:     apache@oss.sgi.com
In-Reply-To: <200102211049.f1LAnoC02157@Magelan.Leidinger.net> from "Alexander Leidinger" at Feb 21, 2001 11:49:48 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: <owner-apache@oss.sgi.com>

> Can you point us to some explanation why the ASF decided to decline?

http://oss.sgi.com/projects/apache/faq.html#Q12
-- 
Michael J. Abbott        mja@sgi.com        http://reality.sgi.com/mja/

From owner-apache@oss.sgi.com Wed Feb 21 14:10:37 2001
Received:  by oss.sgi.com id <S553976AbRBUWKR>;
	Wed, 21 Feb 2001 14:10:17 -0800
Received: from runt.ebetinc.com ([208.48.139.171]:2316 "EHLO runt.ebetinc.com")
	by oss.sgi.com with ESMTP id <S553973AbRBUWKC>;
	Wed, 21 Feb 2001 14:10:02 -0800
Received: from drees (drees.ebetinc.com [200.1.1.25])
	by runt.ebetinc.com (8.9.3/8.9.3) with SMTP id OAA10434
	for <apache@oss.sgi.com>; Wed, 21 Feb 2001 14:09:56 -0800
From:   "David Rees" <drees@ebetinc.com>
To:     "Apache@Oss. Sgi. Com" <apache@oss.sgi.com>
Subject: RE: How to help the AAP
Date:   Wed, 21 Feb 2001 14:09:56 -0800
Message-ID: <NEBBIEFFHCCMKNCJDLLECENHDEAA.drees@ebetinc.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
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)
In-Reply-To: <200102212153.NAA71757@trudge.engr.sgi.com>
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Importance: Normal
Sender: owner-apache@oss.sgi.com
Precedence: bulk
Return-Path: <owner-apache@oss.sgi.com>

> -----Original Message-----
> From: owner-apache@oss.sgi.com [mailto:owner-apache@oss.sgi.com]On
> Behalf Of Mike Abbott
>
> > Can you point us to some explanation why the ASF decided to decline?
>
> http://oss.sgi.com/projects/apache/faq.html#Q12

(Note: I know next to nothing about the accelerating Apache patches, so what
I suggest may not be possible)

What about breaking up the patch into smaller chunks so that at least some
parts make it into the main branch?  Has anything been accepted at all to
the main tree?

At the very least, getting things like the 64-bit compatibility patches
would be useful.

I've attempted to contribute simple patches to other Apache projects in the
past (Tomcat), and found it very difficult to make any progress even when
submitting obviously correct patches.  No-one would apply the patches!  It
really requires you to get the attention a committer in the group, and only
then can you make some progress.  It seems that there is much politics and
in-fighting going on in the various Apache developer groups which is
unfortunate and scares developers away.

-Dave


From owner-apache@oss.sgi.com Thu May 31 18:04:50 2001
Received: (from majordomo@localhost)
	by oss.sgi.com (8.11.3/8.11.3) id f5114oP28150
	for apache-outgoing; Thu, 31 May 2001 18:04:50 -0700
Received: from mail.abeona.com ([209.81.58.10])
	by oss.sgi.com (8.11.3/8.11.3) with SMTP id f5114bh28117
	for <apache@oss.sgi.com>; Thu, 31 May 2001 18:04:47 -0700
Received: from abeona.com (IDENT:gsh@concord [192.168.1.56])
	by mail.abeona.com (8.9.3/8.9.3) with ESMTP id SAA05886;
	Thu, 31 May 2001 18:03:39 -0700
Message-ID: <3B16EA25.CDC50CB3@abeona.com>
Date: Thu, 31 May 2001 18:04:37 -0700
From: Gene Shekhtman <gsh@abeona.com>
Organization: Abeona Networks, Inc.
X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.12-20 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: apache@oss.sgi.com
Subject: Apache and MPL 1.1
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-apache@oss.sgi.com
Precedence: bulk

I was browsing Apache 1.3.14 source tree and noticed
that it includes the expat library source (fast XML
parser).  From the src/lib/expat-lite/expat.html file:

   Copyright (c) 1998, 1999 James Clark. Expat is subject
   to the Mozilla Public License Version 1.1. Alternatively
   you may use expat under the GNU General Public License
   instead.

So much for ST's "inappropriate license" argument.
Jim Jagielski from ASF wrote on slashdot
(http://slashdot.org/apache/01/02/16/1454202.shtml):

   The Apache Web Server Group believes very strongly in the
   BSD license. The State Threads MPM that Mike has created
   uses NSPR (under the MPL 1.1) for some of its functions.
   We just won't accept any patches to our code that are
   contributed as MPL 1.1. So the State Threads MPM must be left
   out of the tree.

Oh well, it's all moot now anyway.




From owner-apache@oss.sgi.com Wed Jun 27 04:25:35 2001
Received: (from majordomo@localhost)
	by oss.sgi.com (8.11.2/8.11.3) id f5RBPZ911940
	for apache-outgoing; Wed, 27 Jun 2001 04:25:35 -0700
Received: from brunel.uk1.vbc.net (brunel.uk1.vbc.net [194.207.2.8])
	by oss.sgi.com (8.11.2/8.11.3) with SMTP id f5RBPXV11937
	for <apache@oss.sgi.com>; Wed, 27 Jun 2001 04:25:33 -0700
Received: from localhost (ans@localhost)
	by brunel.uk1.vbc.net (8.11.0/8.11.0) with ESMTP id f5RBPVv00401
	for <apache@oss.sgi.com>; Wed, 27 Jun 2001 12:25:31 +0100 (BST)
Date: Wed, 27 Jun 2001 12:25:30 +0100 (BST)
From: Alastair Stevens <ans@vbc.net>
To: apache@oss.sgi.com
Subject: Compile problems - Apache 1.3.14+accel on FreeBSD 4.3
Message-ID: <Pine.BSF.4.10.10106271220470.49444-100000@brunel.uk1.vbc.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-apache@oss.sgi.com
Precedence: bulk

Hi - I am running FreeBSD 4.3, and have a clean Apache 1.3.14 source tree,
patched with the full SGI Accelerator patch. I have set the following
compiler flags, after reading all the documentation:

  CFLAGS=-DUSE_QSC -DSPEED_DAEMON -DUSE_DIRECT_IO -O2

I then run "./configure --enable-module=mmap_static --enable-rule=IRIX64"
to add the options I need. Then I run "make" of course, and the
compilation fails at this point:

In file included from http_config.c:75:
../include/httpd.h:74: warning: `USE_QSC' redefined
*Initialization*:1: warning: this is the location of the previous
definition
gcc -c  -I../os/unix -I../include   -funsigned-char -DUSE_EXPAT
-I../lib/expat-lite -DNO_DL_NEEDED -DUSE_QSC -DSPEED_DAEMON
-DUSE_DIRECT_IO -O2 `../apaci` http_core.c
In file included from http_core.c:59:
../include/httpd.h:74: warning: `USE_QSC' redefined
*Initialization*:1: warning: this is the location of the previous
definition
In file included from http_core.c:62:
../include/http_protocol.h:139: warning: `struct dioattr' declared inside
parameter list
../include/http_protocol.h:139: warning: its scope is only this definition
or
declaration, which is probably not what you want.
http_core.c: In function `default_handler':
http_core.c:3208: storage size of `da' isn't known
http_core.c:3304: `F_DIOINFO' undeclared (first use in this function)
http_core.c:3304: (Each undeclared identifier is reported only once
http_core.c:3304: for each function it appears in.)
*** Error code 1
 
Stop in /usr/local/src/apache_1.3.14/src/main.
*** Error code 1

Given that I'm not a C coder, can anyone help me with this? I'd like to
get this working as soon as possible, to experiment with it.

Thanks for your help
Alastair

Alastair Stevens : Network Engineer : VBCnet GB Ltd
....................................................
ans@vbc.net                        \     \     \     \
0117 929 1316                       \.....\.....\.....\...................
www.vbc.net                       << faster connections for a faster world >>


From owner-apache@oss.sgi.com Wed Jun 27 06:25:55 2001
Received: (from majordomo@localhost)
	by oss.sgi.com (8.11.2/8.11.3) id f5RDPtk13623
	for apache-outgoing; Wed, 27 Jun 2001 06:25:55 -0700
Received: from mout0.freenet.de (exim@mout0.freenet.de [194.97.50.131])
	by oss.sgi.com (8.11.2/8.11.3) with SMTP id f5RDPrV13620
	for <apache@oss.sgi.com>; Wed, 27 Jun 2001 06:25:54 -0700
Received: from [194.97.50.144] (helo=mx1.freenet.de)
	by mout0.freenet.de with esmtp (Exim 3.30 #3)
	id 15FFKJ-0007ia-00; Wed, 27 Jun 2001 15:25:51 +0200
Received: from a3685.pppool.de ([213.6.54.133] helo=Magelan.Leidinger.net)
	by mx1.freenet.de with esmtp (Exim 3.30 #3)
	id 15FFKI-0002P2-00; Wed, 27 Jun 2001 15:25:51 +0200
Received: from Leidinger.net (netchild@localhost [127.0.0.1])
	by Magelan.Leidinger.net (8.11.4/8.11.4) with ESMTP id f5RChfq93355;
	Wed, 27 Jun 2001 14:43:42 +0200 (CEST)
	(envelope-from netchild@Leidinger.net)
Message-Id: <200106271243.f5RChfq93355@Magelan.Leidinger.net>
Date: Wed, 27 Jun 2001 14:43:39 +0200 (CEST)
From: Alexander Leidinger <Alexander@leidinger.net>
Subject: Re: Compile problems - Apache 1.3.14+accel on FreeBSD 4.3
To: ans@vbc.net
cc: apache@oss.sgi.com
In-Reply-To: <Pine.BSF.4.10.10106271220470.49444-100000@brunel.uk1.vbc.net>
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=US-ASCII
Sender: owner-apache@oss.sgi.com
Precedence: bulk

On 27 Jun, Alastair Stevens wrote:
> Hi - I am running FreeBSD 4.3, and have a clean Apache 1.3.14 source tree,
> patched with the full SGI Accelerator patch. I have set the following
> compiler flags, after reading all the documentation:
> 
>   CFLAGS=-DUSE_QSC -DSPEED_DAEMON -DUSE_DIRECT_IO -O2
> 
> I then run "./configure --enable-module=mmap_static --enable-rule=IRIX64"
> to add the options I need. Then I run "make" of course, and the
> compilation fails at this point:

I compiled it a long time ago on FreeBSD, and I can't remember every
step, but I definitivly didn't used "--enable-rule=IRIX64".

I also didn't configured it myself, I used the ports framework (make
patch in the ports directory, applied the SGI patch, modified the
port-makefile (CFLAGS+=-DUSE_QSC ..., added --enable-module=mmap_static
to CONFIGURE_ARGS), make)). This also enables the use of the accept
filter (you want to add it to the kernel or to load the kernel module).

Bye,
Alexander.

-- 
                   It's not a bug, it's tradition!

http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7


From owner-apache@oss.sgi.com Wed Jun 27 11:02:19 2001
Received: (from majordomo@localhost)
	by oss.sgi.com (8.11.2/8.11.3) id f5RI2JC20865
	for apache-outgoing; Wed, 27 Jun 2001 11:02:19 -0700
Received: from yog-sothoth.sgi.com (eugate.sgi.com [192.48.160.10])
	by oss.sgi.com (8.11.2/8.11.3) with SMTP id f5RI2HV20855
	for <apache@oss.sgi.com>; Wed, 27 Jun 2001 11:02:17 -0700
Received: from nodin.corp.sgi.com (fddi-nodin.corp.sgi.com [198.29.75.193]) by yog-sothoth.sgi.com (980305.SGI.8.8.8-aspam-6.2/980304.SGI-aspam-europe) via ESMTP id UAA380407
	for <apache@oss.sgi.com>; Wed, 27 Jun 2001 20:02:15 +0200 (CEST)
	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 (8.11.4/8.11.2/nodin-1.0) with ESMTP id f5RI1Ej25567387
	for <apache@oss.sgi.com>; Wed, 27 Jun 2001 11:01:14 -0700 (PDT)
Received: (from mja@localhost) by trudge.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id KAA29607; Wed, 27 Jun 2001 10:59:58 -0700 (PDT)
From: mja@trudge.engr.sgi.com (Mike Abbott)
Message-Id: <200106271759.KAA29607@trudge.engr.sgi.com>
Subject: Re: Compile problems - Apache 1.3.14+accel on FreeBSD 4.3
To: ans@vbc.net (Alastair Stevens)
Date: Wed, 27 Jun 2001 10:59:58 -0700 (PDT)
Cc: apache@oss.sgi.com
In-Reply-To: <Pine.BSF.4.10.10106271220470.49444-100000@brunel.uk1.vbc.net> from "Alastair Stevens" at Jun 27, 2001 12:25:30 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

>   CFLAGS=-DUSE_QSC -DSPEED_DAEMON -DUSE_DIRECT_IO -O2
> ...
> ../include/httpd.h:74: warning: `USE_QSC' redefined

SPEED_DAEMON implies USE_QSC.  See src/include/httpd.h in your patched
source tree.

> ../include/http_protocol.h:139: warning: `struct dioattr' declared inside
> parameter list

USE_DIRECT_IO applies only to Irix systems.  See
htdocs/manual/misc/perf-mja.html#direct in your patched source tree.
-- 
Michael J. Abbott        mja@sgi.com        www.repbot.org/mike

From owner-apache@oss.sgi.com Thu Jun 28 00:46:49 2001
Received: (from majordomo@localhost)
	by oss.sgi.com (8.11.2/8.11.3) id f5S7knX01368
	for apache-outgoing; Thu, 28 Jun 2001 00:46:49 -0700
Received: from brunel.uk1.vbc.net (brunel.uk1.vbc.net [194.207.2.8])
	by oss.sgi.com (8.11.2/8.11.3) with SMTP id f5S7kmV01363
	for <apache@oss.sgi.com>; Thu, 28 Jun 2001 00:46:48 -0700
Received: from localhost (ans@localhost)
	by brunel.uk1.vbc.net (8.11.0/8.11.0) with ESMTP id f5S7kiI08406;
	Thu, 28 Jun 2001 08:46:45 +0100 (BST)
Date: Thu, 28 Jun 2001 08:46:44 +0100 (BST)
From: Alastair Stevens <ans@vbc.net>
To: Alexander Leidinger <Alexander@leidinger.net>
cc: ans@vbc.net, apache@oss.sgi.com
Subject: Re: Compile problems - Apache 1.3.14+accel on FreeBSD 4.3
In-Reply-To: <200106271243.f5RChfq93355@Magelan.Leidinger.net>
Message-ID: <Pine.BSF.4.10.10106280845230.463-100000@brunel.uk1.vbc.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-apache@oss.sgi.com
Precedence: bulk

> I compiled it a long time ago on FreeBSD, and I can't remember every
> step, but I definitivly didn't used "--enable-rule=IRIX64".
> 
> I also didn't configured it myself, I used the ports framework (make
> patch in the ports directory, applied the SGI patch, modified the
> port-makefile (CFLAGS+=-DUSE_QSC ..., added --enable-module=mmap_static
> to CONFIGURE_ARGS), make)). This also enables the use of the accept
> filter (you want to add it to the kernel or to load the kernel module).

FWIW, I tried it this way, going via the ports system, but I got exactly
the same compile failure, in the same place. I'm really not sure what else
to do, other than hacking some code, but that's beyond my realm!

Thanks anyway
Alastair

Alastair Stevens : Network Engineer : VBCnet GB Ltd
....................................................
ans@vbc.net                        \     \     \     \
0117 929 1316                       \.....\.....\.....\...................
www.vbc.net                       << faster connections for a faster world >>


From owner-apache@oss.sgi.com Wed Jul 11 16:07:22 2001
Received: (from majordomo@localhost)
	by oss.sgi.com (8.11.2/8.11.3) id f6BN7MQ28758
	for apache-outgoing; Wed, 11 Jul 2001 16:07:22 -0700
Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22])
	by oss.sgi.com (8.11.2/8.11.3) with SMTP id f6BN7KV28751
	for <apache@oss.sgi.com>; Wed, 11 Jul 2001 16:07:20 -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 QAA02633
	for <apache@oss.sgi.com>; Wed, 11 Jul 2001 16:04:45 -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 QAA27659 for apache@oss.sgi.com; Wed, 11 Jul 2001 16:06:01 -0700 (PDT)
From: mja@trudge.engr.sgi.com (Mike Abbott)
Message-Id: <200107112306.QAA27659@trudge.engr.sgi.com>
Subject: Patch for Apache/1.3.20 available
To: apache@oss.sgi.com
Date: Wed, 11 Jul 2001 16:06:00 -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

Ben O'Shea contributed to the Accelerating Apache Project a complete
port of the 1.3.14 patch to 1.3.20.  Thanks Ben!  The new patch is
available from:
        http://oss.sgi.com/projects/apache/
-- 
Michael J. Abbott        mja@sgi.com        www.repbot.org/mike

From owner-apache@oss.sgi.com Tue Aug  7 11:59:22 2001
Received: (from majordomo@localhost)
	by oss.sgi.com (8.11.2/8.11.3) id f77IxML06901
	for apache-outgoing; Tue, 7 Aug 2001 11:59:22 -0700
Received: from artemis.rubiconproject.com (tigger73.rubiconproject.com [63.95.167.73] (may be forged))
	by oss.sgi.com (8.11.2/8.11.3) with SMTP id f77IxLV06898
	for <apache@oss.sgi.com>; Tue, 7 Aug 2001 11:59:21 -0700
Received: by artemis.rubiconproject.com (Postfix, from userid 1107)
	id 673871D39; Tue,  7 Aug 2001 12:00:41 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <15216.15065.341139.785707@artemis.rubiconproject.com>
Date: Tue, 7 Aug 2001 12:00:41 -0700
From: Shamim Mohamed <shamim@spotlife.com>
To: apache@oss.sgi.com
Subject: 10x patch breaks modules in 1.3.20
X-Mailer: VM 6.89 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid
Sender: owner-apache@oss.sgi.com
Precedence: bulk

I have a couple of Apache modules that are content handlers, running
under Apache 1.3.20 on Solaris 2.8 (sun4u sparc SUNW,UltraAX-i2).  The
modules are dynamically loaded.

However, installing the 10x patch breaks the modules. This is the
sysmptom: in the handler,

static int foobar_handler(request_rec *r)
{
    const char* uri;
    const char* args;

    ...

    uri = r->unparsed_uri;
    args = r->args;

    ...
}

I get a NULL pointer for r->unparsed_uri, and an empty string for
r->args. The unpatched 1.3.20 works fine. What was it that broke this?

I have a suggestion: break up the patch into smaller pieces. In my case,
for instance, I'd like to use QUICK_LOG and the stat cache; but I'm not
serving any static content, so QSC is of no interest to me. And I'm not
on Irix, so Direct I/O is similarly superfluous. There seems to be no
reason these can't all be different patches, they seem quite orthogonal.

(Some of the things I've tried, in desperation: turning off all the
extra features; as well as editing the patch file by hand - very
tedious! - to not include the QSC and Direct I/O bits. So far no luck.)

-s

From owner-apache@oss.sgi.com Sun Aug 12 20:57:50 2001
Received: (from majordomo@localhost)
	by oss.sgi.com (8.11.2/8.11.3) id f7D3vos28701
	for apache-outgoing; Sun, 12 Aug 2001 20:57:50 -0700
Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22])
	by oss.sgi.com (8.11.2/8.11.3) with SMTP id f7D3vmj28698
	for <apache@oss.sgi.com>; Sun, 12 Aug 2001 20:57:48 -0700
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 UAA04602
	for <apache@oss.sgi.com>; Sun, 12 Aug 2001 20:55:48 -0700 (PDT)
	mail_from (mja@trudge.engr.sgi.com)
Received: from yog-sothoth.sgi.com (eugate.sgi.com [144.253.131.5])
	by nodin.corp.sgi.com (8.11.4/8.11.2/nodin-1.0) with ESMTP id f7D3ukF35786750
	for <apache@oss.sgi.com>; Sun, 12 Aug 2001 20:56:46 -0700 (PDT)
Received: from trudge.engr.sgi.com (trudge.engr.sgi.com [163.154.38.51]) by yog-sothoth.sgi.com (980305.SGI.8.8.8-aspam-6.2/980304.SGI-aspam-europe) via ESMTP id FAA1028613
	for <apache@oss.sgi.com>; Mon, 13 Aug 2001 05:54:02 +0200 (CEST)
	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 UAA01356; Sun, 12 Aug 2001 20:52:42 -0700 (PDT)
From: mja@trudge.engr.sgi.com (Mike Abbott)
Message-Id: <200108130352.UAA01356@trudge.engr.sgi.com>
Subject: Re: 10x patch breaks modules in 1.3.20
To: shamim@spotlife.com (Shamim Mohamed)
Date: Sun, 12 Aug 2001 20:52:41 -0700 (PDT)
Cc: apache@oss.sgi.com
In-Reply-To: <15216.15065.341139.785707@artemis.rubiconproject.com> from "Shamim Mohamed" at Aug 07, 2001 12:00: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

> However, installing the 10x patch breaks the modules. This is the
> sysmptom: in the handler,
> [...]
> I get a NULL pointer for r->unparsed_uri, and an empty string for
> r->args. The unpatched 1.3.20 works fine. What was it that broke this?

Something must have changed between 1.3.14 and 1.3.20 in the way these
fields are initialized.  Since I have no direct experience with 1.3.20 I
can't help you.  Anyone else?  If you have the same problem with 1.3.14
I'll help you.

> I have a suggestion: break up the patch into smaller pieces.

First of all, the patches were originally split into smaller pieces.
The smaller ones went over about as well as the monolithic ones so there
was no point in continuing them.

Second, even if split the patches depend on one another.  More
accurately, they all depend on the 64-bit and warning-free changes.
This makes them hard to maintain separately from one release to another.
The changes are easier to port as a group.

Third, all the major pieces are #ifdef'd already.  If you don't want a
particular enhancement, just undefine its token.

Fourth, the project is terminated so it ain't never gonna happen.
Sorry.
-- 
Michael J. Abbott        mja@sgi.com        www.repbot.org/mike

From owner-apache@oss.sgi.com Mon Aug 13 10:37:39 2001
Received: (from majordomo@localhost)
	by oss.sgi.com (8.11.2/8.11.3) id f7DHbdr14400
	for apache-outgoing; Mon, 13 Aug 2001 10:37:39 -0700
Received: from artemis.rubiconproject.com (tigger73.rubiconproject.com [63.95.167.73] (may be forged))
	by oss.sgi.com (8.11.2/8.11.3) with SMTP id f7DHbcj14397
	for <apache@oss.sgi.com>; Mon, 13 Aug 2001 10:37:38 -0700
Received: by artemis.rubiconproject.com (Postfix, from userid 1107)
	id 033821D39; Mon, 13 Aug 2001 10:37:32 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <15224.4188.898882.733443@artemis.rubiconproject.com>
Date: Mon, 13 Aug 2001 10:37:32 -0700
From: Shamim Mohamed <shamim@spotlife.com>
To: mja@trudge.engr.sgi.com (Mike Abbott)
Cc: apache@oss.sgi.com
Subject: Re: 10x patch breaks modules in 1.3.20
In-Reply-To: <200108130352.UAA01356@trudge.engr.sgi.com>
References: <15216.15065.341139.785707@artemis.rubiconproject.com>
	<200108130352.UAA01356@trudge.engr.sgi.com>
X-Mailer: VM 6.89 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid
Sender: owner-apache@oss.sgi.com
Precedence: bulk

 > Something must have changed between 1.3.14 and 1.3.20 in the way
 > these fields are initialized.  Since I have no direct experience
 > with 1.3.20 I can't help you.  Anyone else?  If you have the same
 > problem with 1.3.14 I'll help you.

After a lot of exploration with gdb I found that I was compiling the
modules against the unpatched 1.3.20 - D'oh!

So scratch the problem report; modules seem to work fine with the 10x
patches.

-s

From owner-apache@oss.sgi.com Wed Sep 12 13:32:58 2001
Received: (from majordomo@localhost)
	by oss.sgi.com (8.11.2/8.11.3) id f8CKWwr18585
	for apache-outgoing; Wed, 12 Sep 2001 13:32:58 -0700
Received: from pomfret.net (nobody@[208.3.174.161])
	by oss.sgi.com (8.11.2/8.11.3) with SMTP id f8CKWue18582
	for <apache@oss.sgi.com>; Wed, 12 Sep 2001 13:32:57 -0700
Received: from webmaster1 (cz-cblk-150-12-150.cyberzone.net [209.150.12.150])
	by pomfret.net  with ESMTP id QAA13133
	for <apache@oss.sgi.com>; Wed, 12 Sep 2001 16:32:57 -0400
Date: Wed, 12 Sep 2001 16:39:11 -0400
From: Brian Curtis <bcurtis@pomfret.net>
X-Mailer: The Bat! (v1.53d) Business
Reply-To: Brian Curtis <bcurtis@pomfret.net>
Organization: Pomfret Computer Technologies, LLC
X-Priority: 3 (Normal)
Message-ID: <151513674504.20010912163911@pomfret.net>
To: apache@oss.sgi.com
Subject: Apache 1.3.20: 10X and mod_ssl 2.8.4
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-apache@oss.sgi.com
Precedence: bulk

Any results of this combination/process documented somehwere?

I've had great success not including mod_ssl.  I've also tried my best
to incorporate all the mod_ssl patches by hand after 10x, but still
ran into a few problems -- especially with the way the 10x patches
modified buff.c.

~750 requests per second (ssl, no 10x - ab) compared to 3000+ requests per
second (non-ssl, x10 - ab) is a performance gap I'd like to close a
bit it at all possible.

All suggestions welcome and appreciated.

-- 
Best regards,
 Brian Curtis


From owner-apache@oss.sgi.com Wed Sep 12 14:09:09 2001
Received: (from majordomo@localhost)
	by oss.sgi.com (8.11.2/8.11.3) id f8CL99N19620
	for apache-outgoing; Wed, 12 Sep 2001 14:09:09 -0700
Received: from rj.sgi.com (rj.sgi.com [204.94.215.100])
	by oss.sgi.com (8.11.2/8.11.3) with SMTP id f8CL98e19617
	for <apache@oss.sgi.com>; Wed, 12 Sep 2001 14:09:08 -0700
Received: from trudge.engr.sgi.com (trudge.engr.sgi.com [163.154.38.51])
	by rj.sgi.com (8.11.4/8.11.4/linux-outbound_gateway-1.0) with ESMTP id f8CL93500854
	for <apache@oss.sgi.com>; Wed, 12 Sep 2001 14:09:03 -0700
Received: (from mja@localhost) by trudge.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id OAA34014; Wed, 12 Sep 2001 14:07:47 -0700 (PDT)
From: mja@trudge.engr.sgi.com (Mike Abbott)
Message-Id: <200109122107.OAA34014@trudge.engr.sgi.com>
Subject: Re: Apache 1.3.20: 10X and mod_ssl 2.8.4
To: bcurtis@pomfret.net
Date: Wed, 12 Sep 2001 14:07:47 -0700 (PDT)
Cc: apache@oss.sgi.com
In-Reply-To: <151513674504.20010912163911@pomfret.net> from "Brian Curtis" at Sep 12, 2001 04:39:11 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

Apply the 10x patch first, then the mod_ssl patch.  Identify the
conflicts.  For each conflict, examine the corresponding parts of the
10x patch and mod_ssl patches individually to determine the reason each
changed that code.  Then merge the conflicts by hand.

For example, the 10x patches rewrite sections of buff.c to make better
use of writev.  The mod_ssl patches modify the same sections to
redirect network I/O system calls through ssl wrappers.  These conflict,
and the answer is to edit the code yourself to honor the intent of both
patches.  Where 10x changes write to writev, you must change the mod_ssl
modification similarly.

I recall there being only one or two places requiring any thought.  The
rest should be fairly straightforward.
-- 
Michael J. Abbott        mja@sgi.com        www.repbot.org/mike

From owner-apache@oss.sgi.com Wed Sep 12 14:53:22 2001
Received: (from majordomo@localhost)
	by oss.sgi.com (8.11.2/8.11.3) id f8CLrM420807
	for apache-outgoing; Wed, 12 Sep 2001 14:53:22 -0700
Received: from pomfret.net (nobody@[208.3.174.161])
	by oss.sgi.com (8.11.2/8.11.3) with SMTP id f8CLrHe20803
	for <apache@oss.sgi.com>; Wed, 12 Sep 2001 14:53:17 -0700
Received: from webmaster1 (cz-cblk-150-12-150.cyberzone.net [209.150.12.150])
	by pomfret.net  with ESMTP id RAA16828;
	Wed, 12 Sep 2001 17:52:56 -0400
Date: Wed, 12 Sep 2001 17:59:10 -0400
From: Brian Curtis <admin@pomfret.net>
X-Mailer: The Bat! (v1.53d) Business
Organization: Pomfret Computer Technologies, LLC
X-Priority: 3 (Normal)
Message-ID: <80518472774.20010912175910@pomfret.net>
To: mja@trudge.engr.sgi.com ((Mike Abbott))
CC: apache@oss.sgi.com
Subject: Re[2]: Apache 1.3.20: 10X and mod_ssl 2.8.4
In-Reply-To: <200109122107.OAA34014@trudge.engr.sgi.com>
References: <200109122107.OAA34014@trudge.engr.sgi.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-apache@oss.sgi.com
Precedence: bulk

Hello Mike,

Wednesday, September 12, 2001, 5:07:47 PM, you wrote:

MA> Apply the 10x patch first, then the mod_ssl patch.  Identify the
MA> conflicts.  For each conflict, examine the corresponding parts of the
MA> 10x patch and mod_ssl patches individually to determine the reason each
MA> changed that code.  Then merge the conflicts by hand.

These are the steps I took, as documented by the 10x faq and mailing
list archives.

MA> For example, the 10x patches rewrite sections of buff.c to make better
MA> use of writev.  The mod_ssl patches modify the same sections to
MA> redirect network I/O system calls through ssl wrappers.  These conflict,
MA> and the answer is to edit the code yourself to honor the intent of both
MA> patches.  Where 10x changes write to writev, you must change the mod_ssl
MA> modification similarly.

Not being a Linux programmer, I can only go on bits and pieces I pick
here and there.  The 10x buff.c changes really threw me for a loop.  I
couldn't / still can't figure out where to put the relevant mod_ssl
changes (listed below) after the 10x patch got through with it.

+ #ifdef EAPI
+           if (!ap_hook_call("ap::buff::writev", &rv, fb, &vec[i], nvec -i))
+ #endif /* EAPI */

The function these lines were supposed to be placed in was completely
changed to all of one line by 10x.

These are the problems I'm trying to overcome at the moment:

buff.c: In function `writev_it_all':
buff.c:1113: `rv' undeclared (first use in this function)
buff.c:1113: (Each undeclared identifier is reported only once
buff.c:1113: for each function it appears in.)
buff.c:1113: `i' undeclared (first use in this function)
buff.c:1116: warning: control reaches end of non-void function

Totally lost here.  Tried moving the three mod_ssl lines around w/o
success.  Also tried renaming &rv to &rval which didn't help.
Obviously I haven't found the magic position and/or modifications for
these lines. 

MA> I recall there being only one or two places requiring any thought.  The
MA> rest should be fairly straightforward.

Yes, I had figured the same.  By comparing the original sources and
both 10x and mod_ssl patches, everything seemed pretty simple to fold
in -- except the mod_ssl buff.c related modifications.

Thanks for the response.

-- 
Best regards,
 Brian Curtis


From owner-apache@oss.sgi.com Tue Sep 25 13:26:42 2001
Received: (from majordomo@localhost)
	by oss.sgi.com (8.11.2/8.11.3) id f8PKQg301854
	for apache-outgoing; Tue, 25 Sep 2001 13:26:42 -0700
Received: from rj.sgi.com (rj.SGI.COM [204.94.215.100])
	by oss.sgi.com (8.11.2/8.11.3) with SMTP id f8PKQeD01850
	for <apache@oss.sgi.com>; Tue, 25 Sep 2001 13:26:40 -0700
Received: from yog-sothoth.sgi.com (eugate.neu.sgi.com [144.253.131.5])
	by rj.sgi.com (8.11.4/8.11.4/linux-outbound_gateway-1.0) with ESMTP id f8PKQYL05729
	for <@rj.corp.sgi.com:apache@oss.sgi.com>; Tue, 25 Sep 2001 13:26:34 -0700
Received: from trudge.engr.sgi.com (trudge.engr.sgi.com [163.154.38.51]) by yog-sothoth.sgi.com (980305.SGI.8.8.8-aspam-6.2/980304.SGI-aspam-europe) via ESMTP id WAA1120716
	for <apache@oss.sgi.com>; Tue, 25 Sep 2001 22:26:30 +0200 (CEST)
	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 NAA75517 for apache@oss.sgi.com; Tue, 25 Sep 2001 13:25:14 -0700 (PDT)
From: mja@trudge.engr.sgi.com (Mike Abbott)
Message-Id: <200109252025.NAA75517@trudge.engr.sgi.com>
Subject: Re: Re[2]: Apache 1.3.20: 10X and mod_ssl 2.8.4
To: apache@oss.sgi.com
Date: Tue, 25 Sep 2001 13:25:13 -0700 (PDT)
In-Reply-To: <80518472774.20010912175910@pomfret.net> from "Brian Curtis" at Sep 12, 2001 05:59:10 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

A merge of accelerated Apache/1.3.20 and mod_ssl 2.8.4 is now available
for your reference.  You still need to download all the components and
follow mod_ssl's instructions.  The merge is simply to help resolve the
patch conflicts.  Hope this helps.
	http://oss.sgi.com/projects/apache/patchinfo-1.3.20.html#ssl
-- 
Michael J. Abbott        mja@sgi.com        www.repbot.org/mike

From owner-apache@oss.sgi.com Wed Sep 26 08:54:04 2001
Received: (from majordomo@localhost)
	by oss.sgi.com (8.11.2/8.11.3) id f8QFs4h23974
	for apache-outgoing; Wed, 26 Sep 2001 08:54:04 -0700
Received: from pomfret.net (nobody@[208.3.174.161])
	by oss.sgi.com (8.11.2/8.11.3) with SMTP id f8QFs0D23970
	for <apache@oss.sgi.com>; Wed, 26 Sep 2001 08:54:00 -0700
Received: from webmaster1 (cz-cblk-150-16-229.cyberzone.net [209.150.16.229])
	by pomfret.net  with ESMTP id LAA28588
	for <apache@oss.sgi.com>; Wed, 26 Sep 2001 11:54:00 -0400
Date: Wed, 26 Sep 2001 12:01:10 -0400
From: Brian Curtis <bcurtis@pomfret.net>
X-Mailer: The Bat! (v1.53d) Business
Organization: Pomfret Computer Technologies, LLC
X-Priority: 3 (Normal)
Message-ID: <80741192248.20010926120110@pomfret.net>
To: apache@oss.sgi.com
Subject: Re[4]: Apache 1.3.20: 10X and mod_ssl 2.8.4
In-Reply-To: <200109252025.NAA75517@trudge.engr.sgi.com>
References: <200109252025.NAA75517@trudge.engr.sgi.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-apache@oss.sgi.com
Precedence: bulk

(I had inadvertently sent this directly to Mike.  Apologies.)

Hello Mike,

Tuesday, September 25, 2001, 4:25:13 PM, you wrote:

MA> A merge of accelerated Apache/1.3.20 and mod_ssl 2.8.4 is now available
MA> for your reference.  You still need to download all the components and
MA> follow mod_ssl's instructions.  The merge is simply to help resolve the
MA> patch conflicts.  Hope this helps.

The effort is very much appreciated!

However, the patched version compiles fine, but is very unstable for
me on a RHL 7.1 x86 box (all updates).  The logs show "successful"
negotiation and content serving to the client.  No error messages, no
segfaults, no core dumps.

The problem I'm seeing seems to be some sort of an unexpected / early
disconnection of the browser from the webserver.  I've tried IE & NS 6
(SSLv3) on WIN2k and Mozilla (TLSv1) & Konqueror 2.1.1 (SSLv3) under
X11  (same box the webserver resides on).

For example, the initial "You succeeded in installing the software"
screen loads fine on all browsers that I've tried.  Going beyond that
is pot-luck.

NS6 can't get beyond that page (no errors, just doesn't move when you
click on a link).  IE 6 can only get to chapter 3 of the mod_ssl
manual and bits of the apache manual (rest produce the infamous MS
"DNS Error".  Mozilla can't get beyond the initial page (same as NS6).
Neither can Konqueror (which reports "connection to host is broken"
when trying to proceed beyond initial page).

All browsers are properly served a 404 or 400 error page.

I've tried compiling against the pre-installed RH OpenSSL libraries,
and also against freshly downloaded / configured v0.9.6b sources.
Doesn't seem to make a difference.

Compiling w/o the 10x patches produces a fully working mod_ssl enabled
server, and the exact same logfile content (!).

I'm following the mod_ssl instructions exactly, including mm-1.1.3.
Any ideas where I'm going wrong?

-- 
Best regards,
 Brian Curtis


