From owner-freebsd-current Tue May 21 9:32:12 2002 Delivered-To: freebsd-current@freebsd.org Received: from earth.hub.org (earth.hub.org [64.49.215.11]) by hub.freebsd.org (Postfix) with ESMTP id 70C1837B403; Tue, 21 May 2002 09:32:02 -0700 (PDT) Received: from localhost.localdomain (earth.hub.org [64.49.215.11]) by localhost (Postfix) with ESMTP id 9C8E2103360; Tue, 21 May 2002 13:31:55 -0300 (ADT) Received: from earth.hub.org (earth.hub.org [64.49.215.11]) by earth.hub.org (Postfix) with ESMTP id 8AD181033BE; Tue, 21 May 2002 13:30:53 -0300 (ADT) Date: Tue, 21 May 2002 13:30:53 -0300 (ADT) From: "Marc G. Fournier" To: freebsd-current@freebsd.org Cc: freebsd-stable@freebsd.org Subject: Re: Apache + threads under FreeBSD ... In-Reply-To: <20020521131417.O12810-100000@mail1.hub.org> Message-ID: <20020521132817.E12810-100000@mail1.hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG A little more digging in the CVS logs, it looks like it was, in fact, MFCs to 4.x: revision 1.2.2.3 date: 2001/12/15 20:03:52; author: alfred; state: Exp; lines: +51 -5 MFC: 1.6 sendfile wrap fix. but, in January, things were reverted in 5.x, but never reflected in 4.x? revision 1.7 date: 2002/01/22 23:35:09; author: dg; state: Exp; lines: +0 -11 Undo the work-around for the sendfile bug where nbytes needed the hdr/trl size added to it in order for it to work properly when nbytes != 0. Reviewed by: alfred MFC after: 3 days ============================================ On Tue, 21 May 2002, Marc G. Fournier wrote: > > I'm looking at getting a threaded Apache working under FreeBSD-STABLE (as > of this past weekend) ... if I start up the server and connect with a > browser, it doesn't send anything back, *except* if I kill the apache > server right after the connection ... > > I've checked with the Apache folk, and someone pointed me to the STATUS > file, where I found: > > ============ > * Generate a good bug report to send to the FreeBSD hackers that details > the problems we have seen with threads and system calls (specifically > sendfile data is corrupted). From our analysis so far, we don't think > that this is an APR issue, but rather a FreeBSD kernel issue. Our > current solution is to just disable threads across the board on > FreeBSD. > > MsgID: <20010828091959.D17570@ebuilt.com> > Status: Fixed in -CURRENT. MFC in about a week. Continuing > testing with threads on FreeBSD. > > FreeBSD PR kern/32684: > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/32684 > ============== > > Reading the PR, alfred put a fix in place shortly after (~mid December of > 2001), but I'm wondering if anyone knows whether this was migrated back > down to -STABLE, and, if not, what would be involved to have that done? > Is it a fix that *can* be MFCd? > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message