Re: Deadlock, exclusive sx so_rcv_sx, amd64

From: Kris Kennaway <kris_at_FreeBSD.org>
Date: Mon, 29 Oct 2007 11:37:30 +0100
Gleb Kozyrev wrote:
> On 26/10/2007, Gleb Kozyrev <gkozyrev_at_gmail.com> wrote:
>> I managed to find a kernel message that precedes the freeze:
>> Approaching the limit on PV entries, consider increasing sysctl
>> vm.pmap.shpgperproc or vm.pmap.pv_entry_max
>>
>> rtorrent likes to mmap large files.
>> After increasing (one of) these sysctls everything seems ok.
>> Probably, setting rtorrent's memory limit could have helped either.
>>
>> Is there a way to know if some process is becoming close to that limit?
> 
> It now just takes longer until freeze with shpgperproc = 5000 (originally 200).
> 

So how about vm.pmap.pv_entry_max?  Have you obtained the usual 
debugging information (DDB backtraces, etc) when the system freezes?

Kris
Received on Mon Oct 29 2007 - 09:37:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:20 UTC