From: Sven Willenberger <sven@dmv.com>
To: pgsql-general@postgresql.org
Cc: Rick Apichairuk <rapichai@gmail.com>
Subject: Re: FreeBSD 5.2.1, postgresql 7.4.5 and shared memory settings
Date: Sun, 30 Jan 2005 21:12:08 -0500
Message-ID: <41FD93F8.90507@dmv.com> (raw)
In-Reply-To: <9776bb6605013015361b75cddf@mail.gmail.com>
References: <9776bb66050130122122a3e342@mail.gmail.com>
<20050130205021.GA14588@guests.deus.net>
<9776bb660501301326565859a3@mail.gmail.com>
<9a0c82c605013013555f92eee8@mail.gmail.com>
<9776bb6605013015361b75cddf@mail.gmail.com>
Rick Apichairuk wrote:
> I tried the settings you gave and they worked (with some caveats).
>
> After I recompiled the FreeBSD kernel with the options:
>
> options SYSVSHM
> options SYSVMSG
> options SYSVSEM
>
> options SHMMAXPGS=131072
> options SEMMNI=128
> options SEMMNS=512
> options SEMUME=100
> options SEMMNU=256
>
> I rebooted and attempted to start postgresql and it failed again. I
> then ran sysctl -a to verify that the settings were correct. They were
> not. Regardless of what's configured in the kernel conf file, the
> default values were loaded.
I assume you added these variables to either the GENERIC or a custom
kernel in /usr/src/sys/i386/conf. If you created a custom kernel called
CUSTOM, then you would:
cd /usr/src
make buildkernel KERNCONF=CUSTOM
make installkernel KERNCONF=CUSTOM
Just wanted to verify that you built and installed the kernel using the
config file that has the settings you listed above (your sysctl output
would indicate otherwise).
Sven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: sven@dmv.com, pgsql-general@postgresql.org, rapichai@gmail.com
Subject: Re: FreeBSD 5.2.1, postgresql 7.4.5 and shared memory settings
In-Reply-To: <41FD93F8.90507@dmv.com>
References: <9776bb66050130122122a3e342@mail.gmail.com> <20050130205021.GA14588@guests.deus.net> <9776bb660501301326565859a3@mail.gmail.com> <9a0c82c605013013555f92eee8@mail.gmail.com> <9776bb6605013015361b75cddf@mail.gmail.com> <41FD93F8.90507@dmv.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox