Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Oct 2007 03:49:44 +0200
From:      "Gleb Kozyrev" <gkozyrev@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   Re: Deadlock, exclusive sx so_rcv_sx, amd64
Message-ID:  <ca661e8a0710281849g7147a3ao97d68fd2f12b3daf@mail.gmail.com>
In-Reply-To: <ca661e8a0710261302j188a05c4h63728eab67f6068@mail.gmail.com>
References:  <ca661e8a0710211529y2a48b4a9h78da4211b3f09274@mail.gmail.com> <200710251435.58984.jhb@freebsd.org> <ca661e8a0710260252u4f5c1c3di22828143e81e3df2@mail.gmail.com> <200710261222.28656.jhb@freebsd.org> <20071026184536.GE37471@deviant.kiev.zoral.com.ua> <ca661e8a0710261302j188a05c4h63728eab67f6068@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 26/10/2007, Gleb Kozyrev <gkozyrev@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).

-- 
With best regards, Gleb Kozyrev.



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