From: | Rick Apichairuk <rapichai(at)gmail(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: FreeBSD 5.2.1, postgresql 7.4.5 and shared memory settings |
Date: | 2005-01-30 23:36:54 |
Message-ID: | 9776bb6605013015361b75cddf@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-general |
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 had to edit my /etc/sysctl.conf and
/boot/loader.conf file to get it to work. Which makes me wonder why
the settings are even in the kernel conf file.... but that's not
relevant to this list. But the values you provided did allow me to
start up postgresql with max_connections set up to 479 (480 is too
high and causes error).
On Sun, 30 Jan 2005 13:55:35 -0800, Chris <pglist(at)gmail(dot)com> wrote:
> I've tested this up to 250 connections on 5.3:
>
> options SHMMAXPGS=131072
> options SEMMNI=128
> options SEMMNS=512
> options SEMUME=100
> options SEMMNU=256
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>
From | Date | Subject | |
---|---|---|---|
Next Message | Sven Willenberger | 2005-01-31 02:12:08 | Re: FreeBSD 5.2.1, postgresql 7.4.5 and shared memory settings |
Previous Message | stig erikson | 2005-01-30 22:55:03 | Re: Help with access control settings in pg_hba.conf -- AAAARGH! |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2005-01-30 23:51:42 | Re: example for read committed/volitile functions |
Previous Message | elein | 2005-01-30 23:21:22 | Re: example for read committed/volitile functions |