Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 89157 invoked from network); 18 Mar 2005 00:01:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 18 Mar 2005 00:01:58 -0000 Received: (qmail 98176 invoked by uid 500); 18 Mar 2005 00:01:54 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 98134 invoked by uid 500); 18 Mar 2005 00:01:54 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 98120 invoked by uid 99); 18 Mar 2005 00:01:54 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of trawick@gmail.com designates 64.233.170.200 as permitted sender) Received: from rproxy.gmail.com (HELO rproxy.gmail.com) (64.233.170.200) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 17 Mar 2005 16:01:52 -0800 Received: by rproxy.gmail.com with SMTP id y7so772838rne for ; Thu, 17 Mar 2005 16:01:51 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=fA+kYNlcN7Aq6gWrfrem+vtgDNHNslctuQBnQLLRdDdqVNQeCazrxbrioHLL0sDYkM1LBbXjYX8XpG9Lp03uacJqYGhJcn6xVclXq/sPr1FuNRnN7feo+5RjoTeQc6rr8J3zSGNaeOIqPFw3L3G5Z0ukb+473RUsNTLm0RfT5P0= Received: by 10.38.208.17 with SMTP id f17mr160600rng; Thu, 17 Mar 2005 16:01:50 -0800 (PST) Received: by 10.39.2.68 with HTTP; Thu, 17 Mar 2005 16:01:49 -0800 (PST) Message-ID: Date: Thu, 17 Mar 2005 19:01:49 -0500 From: Jeff Trawick Reply-To: Jeff Trawick To: dev@httpd.apache.org Subject: Re: do we still want sendfile enabled with our default conf files? In-Reply-To: <20050317152754.GI5790@scotch.ics.uci.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <42398A5C.7000400@slive.ca> <20050317141250.GA28555@castlerea.stdlib.net.> <20050317152754.GI5790@scotch.ics.uci.edu> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Thu, 17 Mar 2005 07:27:54 -0800, Justin Erenkrantz wrote: > On Thu, Mar 17, 2005 at 02:12:50PM +0000, Colm MacCarthaigh wrote: > > On Thu, Mar 17, 2005 at 08:47:08AM -0500, Joshua Slive wrote: > > > +1, as before. > > > > > > From the users' perspective, sendfile results in unexplained corruption > > > or uninterpretable error messages pretty much any time a network > > > filesystem is used to host content (and random other times on win32). > > > > Judging by my inbox over the last year, similar behaviour on Linux with > > IPv6 is becoming more and more prevalant, as adoption ramps up. So > > a default of off would be a very great help there too. > > These seem like broken OSes and not a suitable justification to disable > sendfile. We should fix the code - perhaps by teaching APR not to enable the > sendfile-variants on these buggy platforms - not disable it entirely. For > those platforms that don't have bugs, disabling sendfile would be a ridiculous > performance hit. -1. -- justin Is that "-1" a vote, or a veto against the idea? If the latter, please explain in at least a little detail how a technical solution can be implemented that will avoid some of the types of problems triggered by the use of sendfile. After a year or two that these issues have been known, the only thing that anybody truly knows how to do is to disable sendfile.