Date: Fri, 10 Oct 2008 18:45:43 -0500 From: "Paul A. Procacci" <pprocacci@datapipe.com> To: Bob Johnson <fbsdlists@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: kernel: Approaching the limit on PV entries... Message-ID: <48EFE927.6000404@datapipe.com> In-Reply-To: <54db43990810101357o6f6396cfsb4ec48585a1c99b@mail.gmail.com> References: <54db43990810101357o6f6396cfsb4ec48585a1c99b@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Bob Johnson wrote: > A web server with several jailed copies of Apache is having problems > that seem to be caused by incorrect IPFW rules, but in the process of > working on that, I find in the log the following repeated many times: > > Oct 8 23:29:50 spider kernel: Approaching the limit on PV entries, > consider increasing either the vm.pmap.shpgperproc or the > vm.pmap.pv_entry_max sysctl. > Oct 8 23:30:52 spider kernel: Approaching the limit on PV entries, > consider increasing either the vm.pmap.shpgperproc or the > vm.pmap.pv_entry_max sysctl. > > sysctl gives me: > > # sysctl vm.pmap > vm.pmap.pmap_collect_active: 0 > vm.pmap.pmap_collect_inactive: 0 > vm.pmap.pv_entry_spare: 45818 > vm.pmap.pv_entry_allocs: 595716945 > vm.pmap.pv_entry_frees: 595133939 > vm.pmap.pc_chunk_tryfail: 0 > vm.pmap.pc_chunk_frees: 3543052 > vm.pmap.pc_chunk_allocs: 3546795 > vm.pmap.pc_chunk_count: 3743 > vm.pmap.pv_entry_count: 583006 > vm.pmap.shpgperproc: 200 > vm.pmap.pv_entry_max: 2243305 > > The system: > FreeBSD .... 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #0: Wed Oct 1 > 07:51:58 UTC 2008 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > > Can someone briefly explain what this is telling me and how to decide > which sysctl to increase? I have found some old postings that predate > the sysctls that suggested increasing shpgperproc in the kernel > configuration, about 50 at a time until the problem goes away, but I > still have no clue what that is accomplishing. > > Also, the system has been rebooted since I collected those messages, > and they aren't happening any more, but I expect they will reappear > eventually. Until then I probably can't actually test anything. > > Thanks for your time, > > -- Bob Johnson > fbsdlists@gmail.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > For what it's worth, I just came across a machine with the same exact problem, except when I do finally run out of entries, I get a kernel panic. FBSD 7-RELEASE-p4 ~Paul
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48EFE927.6000404>