From owner-freebsd-current@FreeBSD.ORG Mon Oct 29 01:50:37 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 CF53C16A41B for ; Mon, 29 Oct 2007 01:50:37 +0000 (UTC) (envelope-from gkozyrev@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.freebsd.org (Postfix) with ESMTP id DFB4113C491 for ; Mon, 29 Oct 2007 01:49:57 +0000 (UTC) (envelope-from gkozyrev@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so1112625nfb for ; Sun, 28 Oct 2007 18:49:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=GRSS1jmbcv4yrf9YuOOdfrytQwm72DV8Z9PjTjMn8qg=; b=W97Yn2rqX81vVefipEBfH7uoIwkMtqoz2vuCf+vI9wD655NYTK49imUEPf9VPqZSZUiwK54cFDRZqL7HtJ/DhLxLwWpgqZ8qCwMEzkp2/Xs8Jo4TFnJw6w7rq9h+vKdFnpG4hHkZ7pm74zmF5YVIDuG57w66JHPlXkztifzc7EY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XhKQl6qdInN28ZQ2VtaaDA3gQmtd38qy4B1c1osT+fD2Sd8Ap/WEfCOiANJW1mdueeXkfjzAr/Wi6USfNyOQpHyKF2BInANtronBhW1lACLX4ho8r3MHXGgDCEhmRJqMlTwC7EB2bBNrElCHMP6yi4IRsWWhsLTRLx5VUX1oq4A= Received: by 10.78.185.15 with SMTP id i15mr3746894huf.1193622584546; Sun, 28 Oct 2007 18:49:44 -0700 (PDT) Received: by 10.78.148.14 with HTTP; Sun, 28 Oct 2007 18:49:44 -0700 (PDT) Message-ID: Date: Mon, 29 Oct 2007 03:49:44 +0200 From: "Gleb Kozyrev" To: freebsd-current@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200710251435.58984.jhb@freebsd.org> <200710261222.28656.jhb@freebsd.org> <20071026184536.GE37471@deviant.kiev.zoral.com.ua> 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 01:50:37 -0000 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). -- With best regards, Gleb Kozyrev.