Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Mar 2008 16:51:26 +0100
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-stable@freebsd.org
Subject:   Approaching the limit on PV entries
Message-ID:  <fr69hn$q0o$1@ger.gmane.org>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig526DE873EF681C583AFA92BA
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

During heavy postgresql load (pgbench), /var/log/messages registers
(multiple times) the following message:

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

I'm increasing both, but no matter what I increase them to, after a
short time they again get increased by the system (???).

The values are currently:

vm.pmap.shpgperproc: 1134
vm.pmap.pv_entry_max: 8000000

But the last sysctl setting, verified by retrieving it from my shell
command line history, is that I set vm.pmap.shpgperproc to 800.

Is this normal, and what are the common settings for these values? The
machine is 2x4-core, currently 4 GB RAM (which will increase to at least
6 GB), amd64, running postgresql, php and apache.


--------------enig526DE873EF681C583AFA92BA
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH1qp+ldnAQVacBcgRAh7HAKCBCpa/5y/6wMztLQqa8buKei55OgCgge66
MxMxTvjS73S0CDSOqY4+Ky0=
=hJaW
-----END PGP SIGNATURE-----

--------------enig526DE873EF681C583AFA92BA--




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