Re: Increasing the number of semaphores on FreeBSD 4.1 (clarification)

From: Igor Roboul <igor(at)raduga(dot)dyndns(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Increasing the number of semaphores on FreeBSD 4.1 (clarification)
Date: 2000-11-10 09:29:50
Message-ID: 20001110122950.A19919@linux.rainbow
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Nov 09, 2000 at 08:55:32PM -0800, Alfred Perlstein wrote:
> options SHMMAXPGS=512000
> options SHMSEG=128
> options SEMMNI=40 # /* # of semaphore identifiers */
> options SEMMNS=240 # /* # of semaphores in system */
> options SEMUME=40 # /* max # of undo entries per process */
> options SEMMNU=120 # /* # of undo structures in system */
These ooptions are not needed :-) There are sysctl settable options:
%sysctl -a | grep shm
kern.ipc.shmmax: 4194304
kern.ipc.shmmin: 1
kern.ipc.shmmni: 96
kern.ipc.shmseg: 64
kern.ipc.shmall: 1024
kern.ipc.shm_use_phys: 0

--
Igor Roboul, Unix System Administrator & Programmer @ sanatorium "Raduga",
Sochi, Russia
http://www.brainbench.com/transcript.jsp?pid=304744

In response to

Browse pgsql-general by date

  From Date Subject
Next Message KuroiNeko 2000-11-10 10:00:50 Re: Re: Requests for Development
Previous Message Andreas Tille 2000-11-10 07:43:14 Re: Requests for Development