From owner-freebsd-stable@FreeBSD.ORG Thu Apr 9 07:56:11 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 178B71065721; Thu, 9 Apr 2009 07:56:11 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id BBA7C8FC16; Thu, 9 Apr 2009 07:56:09 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id F1E3119E023; Thu, 9 Apr 2009 09:56:06 +0200 (CEST) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 8A62319E019; Thu, 9 Apr 2009 09:56:01 +0200 (CEST) Message-ID: <49DDAA11.1040804@quip.cz> Date: Thu, 09 Apr 2009 09:56:01 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: Ivan Voras References: <49DD1E2E.4030009@quip.cz> <9bbcef730904081535l2339dc7fk6ce7957976d9425@mail.gmail.com> In-Reply-To: <9bbcef730904081535l2339dc7fk6ce7957976d9425@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: ZFSKnownProblems - needs revision? / Lighttpd X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Apr 2009 07:56:24 -0000 Ivan Voras wrote: > 2009/4/8 Miroslav Lachman <000.fbsd@quip.cz>: > >>(Lighttpd problem may be related to jail instead of ZFS - I did not test it >>yet) > > Completely unrelated to ZFS, but wasn't there some issue with lighttpd > and sendfile() relatively recently (sendfile is the default)? Have you > tried server.network-backend = "writev" ? I know about the problem with sendfile as I was hit by it on the main server with Lighttpd + UFS. It has different behavior and it was fixed in the latest version of Lighttpd from ports. Both servers (main with UFS and second with ZFS + Jail) are running this fixed version. I will test it with "writev", thanks for suggestion. With lower load, Lighttpd is shown in `top` with state 'kqread', but with higher load in the case of slowdown, the state is 'zfs->io'. Miroslav Lachman