Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Sep 2007 12:13:58 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        forum@redpuppy.net
Cc:        freebsd-questions@freebsd.org
Subject:   Re: collecting pv entries -- suggest increasing PMAP_SHPGPERPROC
Message-ID:  <20070924121358.7d76265d.wmoran@potentialtech.com>
In-Reply-To: <20070924145950.5597C13C467@mx1.freebsd.org>
References:  <20070924145950.5597C13C467@mx1.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In response to <forum@redpuppy.net>:

> Hi,
>=20
> I have a new 6.2 install running postfix, amavisd-new, clamav and SpamAss=
assin
> and over the weekend the server stopped responding with the following err=
or.
> collecting pv entries -- suggest increasing PMAP_SHPGPERPROC.  I did some=
 google
> searching on the error and found the same problem with Apache, but none w=
ith my
> configuration. Most of the sites say to increase the PMAP_SHPGPERPROC, bu=
t none
> say how or what to increase it to.

I've never seen a modern version of FreeBSD lock up as a result of this,
so that's a little odd.

> Does anyone have a suggestion on how I should go about troubleshooting th=
is or
> what I should change my PMAP_SHPGPERPROC to? Could this be a one time flu=
ke and I
> shouldn=92t worry about it?

I had to research this earlier this year.  The default is 200, so in my
case, raising the value to 250 solved the problem.  I fixed it by adding
the setting to my kernel config and building a new kernel.  I believe
you can also set it in loader.conf

I haven't tried setting it higher than 250 (haven't had the need) but
I've seen some posts suggesting that setting it too high can cause
kernel panics.  I recommend bumping it to 250, then go to 300 if the
problem doesn't go away -- but in any event, don't increase it
drastically.

--=20
Bill Moran
http://www.potentialtech.com



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