On Thu, Mar 22, 2012 at 4:02 PM, Efra?n D?ctor <efraindector@motumweb.com> wrote:> Hello. I?m currently testing FreeBSD 9.0, I want to use it as a OS for > a PostgreSQL Server. However, it is recommended to modified > some paramerts such as semaphores > (http://www.postgresql.org/docs/9.1/static/kernel-resources.html ): > > kern.ipc.semmap=256 > > But when I tried to change the value on FreeBSD this pops up: > > sysctl: unknown oid 'kern.ipc.semmap' > > What Can I do to resolve this issue?. > > Thank you.(9.0 discussions should go to stable@, not current@) I don't think that kern.ipc.semmap exists on 9.0 - at least, it is present on my 8-STABLE box, and not present on my 9-STABLE box (whilst other oids, eg kern.ipc.semmni exist on both) Cheers Tom
Sorry about posting to @current. Yep, kern.ipc.semmap does exists on FreeBSD 8.2 (I have configured it on sysctl.conf) but on FreeBSD 9.0 its gone, Volodymyr Kostyrko pointed out that this options need to be configured now on /boot/loader.conf (file that on 9.0 I had to create it manually unlike 8.2). Where can I find this type of changes that were made on 9.0?. Thank you. -----Mensaje original----- From: Tom Evans Sent: Thursday, March 22, 2012 10:57 AM To: Efra?n D?ctor Cc: freebsd-stable@freebsd.org Subject: Re: About kern.ipc.semmap on FreeBSD 9 On Thu, Mar 22, 2012 at 4:02 PM, Efra?n D?ctor <efraindector@motumweb.com> wrote:> Hello. I?m currently testing FreeBSD 9.0, I want to use it as a OS for > a PostgreSQL Server. However, it is recommended to modified > some paramerts such as semaphores > (http://www.postgresql.org/docs/9.1/static/kernel-resources.html ): > > kern.ipc.semmap=256 > > But when I tried to change the value on FreeBSD this pops up: > > sysctl: unknown oid 'kern.ipc.semmap' > > What Can I do to resolve this issue?. > > Thank you.(9.0 discussions should go to stable@, not current@) I don't think that kern.ipc.semmap exists on 9.0 - at least, it is present on my 8-STABLE box, and not present on my 9-STABLE box (whilst other oids, eg kern.ipc.semmni exist on both) Cheers Tom -----Mensaje original----- From: Volodymyr Kostyrko Sent: Thursday, March 22, 2012 10:15 AM To: Efra?n D?ctor Cc: freebsd-current@freebsd.org Subject: Re: About kern.ipc.semmap on FreeBSD 9 Efra?n D?ctor wrote:> Hello. I?m currently testing FreeBSD 9.0, I want to use it as a OS for a > PostgreSQL Server. However, it is recommended to modified some paramerts > such as semaphores > (http://www.postgresql.org/docs/9.1/static/kernel-resources.html ): > > kern.ipc.semmap=256 > > But when I tried to change the value on FreeBSD this pops up: > > sysctl: unknown oid 'kern.ipc.semmap' > > What Can I do to resolve this issue?.This one can be modified only in /boot/loader.conf -- Sphinx of black quartz judge my vow.
On Thu, Mar 22, 2012 at 5:36 PM, Efra?n D?ctor <efraindector@motumweb.com> wrote:> Sorry about posting to @current. > > Yep, kern.ipc.semmap does exists on FreeBSD 8.2 (I have configured it on > sysctl.conf) but on FreeBSD 9.0 its gone, Volodymyr Kostyrko pointed out > that this options need to be configured now on /boot/loader.conf (file that > on 9.0 I had to create it manually unlike 8.2). > > > Where can I find this type of changes that were made on 9.0?. > > Thank you. >http://www.freebsd.org/releases/9.0R/relnotes-detailed.html should have all changes in it; this seems to have been missed. This is the change: r224016 | bz | 2011-07-14 14:18:14 +0000 (Thu, 14 Jul 2011) | 10 lines Remove semaphore map entry count "semmap" field and its tuning option that is highly recommended to be adjusted in too much documentation while doing nothing in FreeBSD since r2729 (rev 1.1). ipcs(1) needs to be recompiled as it is accessing _KERNEL private variables. Reviewed by: jhb (before comment change on linux code) Sponsored by: Sandvine Incorporated which suggests that the option has not done anything for a very long time. Cheers Tom
Thank you for the information. -----Mensaje original----- From: Tom Evans Sent: Thursday, March 22, 2012 11:45 AM To: Efra?n D?ctor Cc: freebsd-stable@freebsd.org Subject: Re: About kern.ipc.semmap on FreeBSD 9 On Thu, Mar 22, 2012 at 5:36 PM, Efra?n D?ctor <efraindector@motumweb.com> wrote:> Sorry about posting to @current. > > Yep, kern.ipc.semmap does exists on FreeBSD 8.2 (I have configured it on > sysctl.conf) but on FreeBSD 9.0 its gone, Volodymyr Kostyrko pointed out > that this options need to be configured now on /boot/loader.conf (file > that > on 9.0 I had to create it manually unlike 8.2). > > > Where can I find this type of changes that were made on 9.0?. > > Thank you. >http://www.freebsd.org/releases/9.0R/relnotes-detailed.html should have all changes in it; this seems to have been missed. This is the change: r224016 | bz | 2011-07-14 14:18:14 +0000 (Thu, 14 Jul 2011) | 10 lines Remove semaphore map entry count "semmap" field and its tuning option that is highly recommended to be adjusted in too much documentation while doing nothing in FreeBSD since r2729 (rev 1.1). ipcs(1) needs to be recompiled as it is accessing _KERNEL private variables. Reviewed by: jhb (before comment change on linux code) Sponsored by: Sandvine Incorporated which suggests that the option has not done anything for a very long time. Cheers Tom