Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 May 2006 16:17:12 -0500
From:      Kirk Strauser <kirk@strauser.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: PostgreSQL uses more memory on 6.1?
Message-ID:  <200605231617.12526.kirk@strauser.com>
In-Reply-To: <b41c75520605231405k6966c07crb39622a45fcc8e@mail.gmail.com>
References:  <200605231531.18092.kirk@strauser.com> <200605231558.27248.kirk@strauser.com> <b41c75520605231405k6966c07crb39622a45fcc8e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 23 May 2006 16:05, Claus Guttesen wrote:

> He probably meant the following kernel-settings:
>
> options         SHMMAXPGS=393216
> options         SEMMNI=240
> options         SEMMNS=1440
> options         SEMUME=240
> options         SEMMNU=720
>
> Those are for my quad-opteron server with 8 GB RAM. Adjust
> accordingly. Did you compile a custom-build-kernel or GENERIC?

I hadn't compiled any of those into my custom kernel, as per some now 
long-forgotten web page that said I should use the sysctls to reach the 
same effect.

What I'd *really* like to find is an explanation of how to set those 
numbers.  I'm using a single Xeon with 3GB of RAM and have no idea how high 
to set those, or whether a particular value is too high.  Then again, once 
I figure it out I guess I should have a fair amount of job security.  :-)
-- 
Kirk Strauser



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