Thread: pg 8.0 on freebsd 5.3 install problem

pg 8.0 on freebsd 5.3 install problem

From
pginfo
Date:
Hi all,

I just installed pg 8.0 on freeBSD 5.3.

All  is ok, but if I try to increase max_connections to 256 (or more) pg
do not starts.

Yes, I readet the docs and I know that I need to increase shared memory
and semaphores.

I recompile my kernel and set :
options         SYSVSHM
options         SHMMAXPGS=16382
options         SHMSEG=9182

options         SYSVSEM
options         SEMMNI=9182
options         SEMMNS=9182
options         SEMMNU=9182
options         SEMMAP=9182


And also after installing the new kernel I got the same error.

Pls., help me to find the values of  semaphors in my kernel.
Exist any tools for this info?

many thanks,
ivan.



Re: pg 8.0 on freebsd 5.3 install problem

From
Chris
Date:
On Wed, 19 Jan 2005 18:51:40 +0100, pginfo <pginfo@t1.unisoftbg.com> wrote:
> Hi all,
>
> I just installed pg 8.0 on freeBSD 5.3.
>
> All  is ok, but if I try to increase max_connections to 256 (or more) pg
> do not starts.
>
> Yes, I readet the docs and I know that I need to increase shared memory
> and semaphores.
>
> I recompile my kernel and set :
> options         SYSVSHM
> options         SHMMAXPGS=16382
> options         SHMSEG=9182
>
> options         SYSVSEM
> options         SEMMNI=9182
> options         SEMMNS=9182
> options         SEMMNU=9182
> options         SEMMAP=9182
>
> And also after installing the new kernel I got the same error.
>
The following works for me on 5.3

options         SHMMAXPGS=131072
options         SEMMNI=128
options         SEMMNS=512
options         SEMUME=100
options         SEMMNU=256


Chris