From owner-freebsd-questions@FreeBSD.ORG Sat Aug 19 15:38:32 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56B0A16A4DD for ; Sat, 19 Aug 2006 15:38:32 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from server.t-hosting.hu (server.t-hosting.hu [217.20.133.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id A250E43D46 for ; Sat, 19 Aug 2006 15:38:31 +0000 (GMT) (envelope-from gabor@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by server.t-hosting.hu (Postfix) with ESMTP id 9281499C0D8; Sat, 19 Aug 2006 17:38:30 +0200 (CEST) X-Virus-Scanned: amavisd-new at t-hosting.hu Received: from server.t-hosting.hu ([127.0.0.1]) by localhost (server.t-hosting.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id b90m7-1ek5yv; Sat, 19 Aug 2006 17:38:29 +0200 (CEST) Received: from [192.168.2.186] (catv-50635cb6.catv.broadband.hu [80.99.92.182]) by server.t-hosting.hu (Postfix) with ESMTP id 8B1AD99C0B2; Sat, 19 Aug 2006 17:38:29 +0200 (CEST) Message-ID: <44E73072.40205@FreeBSD.org> Date: Sat, 19 Aug 2006 17:38:26 +0200 From: =?ISO-8859-1?Q?G=E1bor_K=F6vesd=E1n?= User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: Ian Lord References: <7.0.1.0.2.20060819112042.06a847b0@msdi.ca> In-Reply-To: <7.0.1.0.2.20060819112042.06a847b0@msdi.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Apache 2.2 http accept filter X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Aug 2006 15:38:32 -0000 Ian Lord wrote: > Hi, > > When I start apache2.2, I get the following error: > > [Sat Aug 19 11:26:50 2006] [warn] (2)No such file or directory: Failed > to enable the 'httpready' Accept Filter > [Sat Aug 19 11:26:50 2006] [warn] (2)No such file or directory: Failed > to enable the 'httpready' Accept Filter > [Sat Aug 19 11:26:50 2006] [warn] (2)No such file or directory: Failed > to enable the 'httpready' Accept Filter > > Here is my config > In /etc/rc.conf: > apache22_enable="YES" > apache22 ssl_enable="YES" > apache22_http_accept_enable="YES" > > In /usr/local/etc/apache22/httpd.conf: > AcceptFilter http httpready > AcceptFilter https dataready > > Is there anything I am missing in the kernel or somewhere ? > Also, is it better to run with or without httpready ? I read it was > better performance wide to use it > > Thanks a lot > Yes, you have to put these two lines into your kernel config: options ACCEPT_FILTER_HTTP options ACCEPT_FILTER_DATA Alternatively, you can load the appropriate kernel modules as well. I think it's better to use these, you might gain a bit in the performance as you wrote. -- Cheers, Gabor