From owner-freebsd-current@FreeBSD.ORG Mon Oct 29 10:37:29 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80ECC16A417 for ; Mon, 29 Oct 2007 10:37:29 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7C6B913C48A; Mon, 29 Oct 2007 10:37:28 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <4725B7EA.5080807@FreeBSD.org> Date: Mon, 29 Oct 2007 11:37:30 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Gleb Kozyrev References: <200710251435.58984.jhb@freebsd.org> <200710261222.28656.jhb@freebsd.org> <20071026184536.GE37471@deviant.kiev.zoral.com.ua> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: Deadlock, exclusive sx so_rcv_sx, amd64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 10:37:29 -0000 Gleb Kozyrev wrote: > On 26/10/2007, Gleb Kozyrev 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