Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Mar 2010 19:58:57 +0100
From:      volker@vwsoft.com
To:        John Baldwin <jhb@freebsd.org>
Cc:        freebsd-hackers@freebsd.org, Giulio Ferro <auryn@zirakzigil.org>, freebsd-net@freebsd.org
Subject:   Re: NFS Client error
Message-ID:  <4B969A71.20308@vwsoft.com>
In-Reply-To: <201003090744.09149.jhb@freebsd.org>
References:  <4B94DC74.7070001@zirakzigil.org> <4B958151.8060707@vwsoft.com> <201003090744.09149.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B969A71.20308>