Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2003 09:57:15 +0200
From:      Dmitry Alyabyev <dimitry@al.org.ua>
To:        freebsd-isp@freebsd.org
Subject:   Re: tuning suggestions?
Message-ID:  <200301220957.15725.dimitry@al.org.ua>
In-Reply-To: <aoqr2v4qoo0udl5dk3uusoctvbpivc6mn9@4ax.com>
References:  <mailman.1043163721.4591.fisp-l@lists.sentex.ca> <aoqr2v4qoo0udl5dk3uusoctvbpivc6mn9@4ax.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 22 January 2003 02:54, Mike Tancsa wrote:

> >Shortly after making world, striping the kernel, upgrading apache,
> >and installing WebGUI on a couple of websites (WebGUI requires
> >mod_perl to preload Apache::Registry), I began to get these two
> >errors.
> >
> >pmap_collect: collecting pv entries -- suggest increasing
> >PMAP_SHPGPERPROC microuptime() went backwards (613878.982533 ->
> >613874.389277)
> >
> >This machine sees fairly heavy MySql use and moderate httpd load.
> >It has been faithfully doing its job for a couple of years now from
> >3.0 - 4.7-stable and has never given a problem.  I have read man
> >tuning, LINT, and searched the archives on these two errors and
> >really haven't come up with a lot of information.  The following
> >lines from lint are sketchy at best.

[skip]

> I would get rid of APM yes, and increase PMAP_SHPGPERPROC.  Lint is saying
> the default is 200. It was a few months ago and I forget how I arrived at
> the number, but we saw the same thing on a busy apache/mySQL server so we
> increased the value to 400 and the problem went away.  There is 768MB of
> RAM on that box.

I would say the value of PMAP_SHPGPERPROC should be slightly increasing until 
you will not the message from pmap_collect. Don't try to rise it sharply !
In my case the value is frozen on 300 (2xPIII-1.4, RAM 1G, Apache/Mysql)


-- 
Dimitry


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




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