Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Aug 2009 11:37:00 +0200
From:      Julien Cigar <jcigar@ulb.ac.be>
To:        freebsd-questions@freebsd.org
Subject:   Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable
Message-ID:  <1251193020.2996.15.camel@frodon.be-bif.ulb.ac.be>

next in thread | raw e-mail | index | archive | help
Hello,

We have an HP Proliant DL380G5 with 4GB of RAM and FreeBSD 7.0 which
runs PostgreSQL 8.3 for more than a year now. No problems, except that
two days ago I noticed those messages in my kernel logs :

"Approaching the limit on PV entries, consider increasing either the
vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable."

Since vm.pmap.shpgperproc and vm.pmap.pv_entry_max require a reboot I
want to be sure that I put "good" values (for ex: I read that increasing
too much vm.pmap.shpgperproc could result in a panic at boot time or
later).

I have the following in /boot/loader.conf :

kern.ipc.semmni=1024
kern.ipc.semmns=16384
kern.ipc.semmnu=16384
vm.pmap.shpgperproc=225
vm.pmap.pv_entry_max=4134816

and the following in /etc/sysctl.conf :

kern.ipc.shmall=262144
kern.ipc.shmmax=1073741824
kern.ipc.semmap=16384
kern.ipc.shm_use_phys=1

Do you think that those values for vm.pmap.pv_entry_max and
vm.pmap.shpgperproc are OK ? Is it OK to increase vm.pmap.pv_entry_max
as long as vm.kvm_free is not too low ? 

Thanks,
Julien

-- 
Julien Cigar
Belgian Biodiversity Platform
http://www.biodiversity.be
Université Libre de Bruxelles (ULB)
Campus de la Plaine CP 257
Bâtiment NO, Bureau 4 N4 115C (Niveau 4)
Boulevard du Triomphe, entrée ULB 2
B-1050 Bruxelles
Mail: jcigar@ulb.ac.be
@biobel: http://biobel.biodiversity.be/person/show/471
Tel : 02 650 57 52

No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.




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