From owner-freebsd-net@FreeBSD.ORG Tue Mar 9 18:59:18 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3902D106566C; Tue, 9 Mar 2010 18:59:18 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from Mail.elbekies.net (mail.elbekies.net [217.6.211.146]) by mx1.freebsd.org (Postfix) with ESMTP id D901A8FC18; Tue, 9 Mar 2010 18:59:17 +0000 (UTC) Received: from bel.soho.vwsoft.com (p4FE2343A.dip.t-dialin.net [79.226.52.58]) by Mail.elbekies.net (Postfix) with ESMTPA id CFBE82E05A; Tue, 9 Mar 2010 19:59:10 +0100 (CET) Received: from [192.168.16.4] (dardanos.sz.vwsoft.com [192.168.16.4]) by bel.soho.vwsoft.com (Postfix) with ESMTP id BB0F433C7C; Tue, 9 Mar 2010 19:58:53 +0100 (CET) Message-ID: <4B969A71.20308@vwsoft.com> Date: Tue, 09 Mar 2010 19:58:57 +0100 From: volker@vwsoft.com User-Agent: Thunderbird 2.0.0.23 (X11/20100306) MIME-Version: 1.0 To: John Baldwin References: <4B94DC74.7070001@zirakzigil.org> <4B958151.8060707@vwsoft.com> <201003090744.09149.jhb@freebsd.org> In-Reply-To: <201003090744.09149.jhb@freebsd.org> X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-VWSoft-MailScanner: Found to be clean X-MailScanner-ID: CFBE82E05A.A9AF2 X-Elbekies-MailScanner: Found to be clean X-MailScanner-From: volker@vwsoft.com MailScanner-NULL-Check: 1268765954.105@p+hScOZ4jUh6/JQUWDFJMQ Cc: freebsd-hackers@freebsd.org, Giulio Ferro , freebsd-net@freebsd.org Subject: Re: NFS Client error X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2010 18:59:18 -0000 On 03/09/10 13:44, John Baldwin wrote: > On Monday 08 March 2010 5:59:29 pm volker@vwsoft.com wrote: >> On 03/08/10 12:16, Giulio Ferro wrote: >>> Freebsd 8 stable amd64 >>> >>> It mounts different file systems by NFS (with locking) on a >>> data server directly connected (gigabit) to the server >>> >>> Apache running in a several jails on those nfs folders. >>> >>> Now and then I get huge slow-down. When I look in the logs >>> I get thousand of lines like these: >>> Mar 5 11:50:52 virt2 kernel: vm_fault: pager read error, pid 46487 > (httpd) >>> Mar 5 11:50:52 virt2 kernel: pid 46487 (httpd), uid 80: exited on >>> signal 11 >>> >>> >>> What should I do? >> Giulio, >> >> it seems this is anyhow not related to network (nfs) operations. It's >> looking like a problem in the VM. I think it makes sense to have a look >> at the httpd.core file if the binary has been linked with debugging >> symbols turned on. Also I think at first, it may not hurt to look at >> vmstat -m output. >> >> You may want to change ${subject} and post to stable@ to drive more >> attention to your problem. > > That's not quite true. If you take a page fault on a mmap'd file backed by > NFS (e.g. an executable or shared library) and an NFS READ RPC to satisfy the > page fault fails, then you could get this error. > John, thank you for pointing that out. I've forgotten the mmap'ing of files over nfs as a possible source of that problem. With 8-stable I'm seeing mbufs leaking with nfs operation. It may or may not be related to Giulio's problem. Volker