Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jun 1998 21:41:20 +0200
From:      Andreas Klemm <andreas@klemm.gtn.com>
To:        Marc Slemko <marcs@znep.com>, "Andrey A. Chernov" <ache@FreeBSD.ORG>
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-ports@FreeBSD.ORG
Subject:   Re: cvs commit: ports/www/apache13 Makefile
Message-ID:  <19980624214120.A7176@klemm.gtn.com>
In-Reply-To: <Pine.BSF.3.95.980624111442.2272f-100000@alive.znep.com>; from Marc Slemko on Wed, Jun 24, 1998 at 11:18:33AM -0700
References:  <199806091950.MAA00545@freefall.freebsd.org> <Pine.BSF.3.95.980624111442.2272f-100000@alive.znep.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 24, 1998 at 11:18:33AM -0700, Marc Slemko wrote:
> On Tue, 9 Jun 1998, Andrey A. Chernov wrote:
> >   Performance tuning as described in http://www.apache.org/docs/misc/perf-tuning.html
> >   Add --disable-rule=STATUS and -DBUFFERED_LOGS
> >   
> >   Revision  Changes    Path
> >   1.54      +3 -2      ports/www/apache13/Makefile
> 
> Status should, of anything, be fully enabled because of its use to the
> client and very minimal overhead for 99% of servers.  BUFFERED_LOGS should
> _NOT_ be set by default because it causes great confusion when users can't
> see hits in their logfile.  The savings it generates are not relevant for
> the typical server, and should only be done by those people who wish to. 
> 
> We have already had one PR from a confused FreeBSD user about why Apache
> 1.3 was acting strangely when logging.

Could it be a good compromise, to document this in the port ???
Descrition file would be suitable for this ...

Another solution: make it a build option ...

	# make BUFFERED_LOGS=yes

and in ports Makefile

.if $BUFFERED_LOGS
	@echo "bla ... warning, this causes ..."
	CFLAGS+=...
.endif

-- 
Andreas Klemm                                http://www.FreeBSD.ORG/~andreas
     What gives you 90% more speed, for example, in kernel compilation ?
          http://www.FreeBSD.ORG/~fsmp/SMP/akgraph-a/graph1.html
             "NT = Not Today" (Maggie Biggs)      ``powered by FreeBSD SMP''

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980624214120.A7176>