About kern.ipc.semmap on FreeBSD 9

2012-03-22 Thread Efraín Déctor
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.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: About kern.ipc.semmap on FreeBSD 9

2012-03-22 Thread Volodymyr Kostyrko

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.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: About kern.ipc.semmap on FreeBSD 9

2012-03-22 Thread Efraín Déctor

Hello. Thank you for your answer.

Where can i find this type of changes?. Because on FreeBSD 8.2 I had to put
kern.ipc.semmap=256 on sysctl.conf.

Thanks in advance.

-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. 


___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: About kern.ipc.semmap on FreeBSD 9

2012-03-22 Thread Herbert J. Skuhra
On Thu, 22 Mar 2012 10:02:15 -0600
Efraín Déctor efraindec...@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?.

This has been removed in r224016:

http://svnweb.freebsd.org/base/head/sys/kern/sysv_sem.c?r1=223825r2=224016

-- 
Herbert
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: About kern.ipc.semmap on FreeBSD 9

2012-03-22 Thread Efraín Déctor
Thank you, I don't know why PostgreSQL still recommends to use it. But now I 
can keep testing FreeBSD 9.


Thanks everyone.

-Mensaje original- 
From: Herbert J. Skuhra

Sent: Thursday, March 22, 2012 3:52 PM
To: Efraín Déctor
Cc: freebsd-current@freebsd.org
Subject: Re: About kern.ipc.semmap on FreeBSD 9

On Thu, 22 Mar 2012 10:02:15 -0600
Efraín Déctor efraindec...@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?.


This has been removed in r224016:

http://svnweb.freebsd.org/base/head/sys/kern/sysv_sem.c?r1=223825r2=224016

--
Herbert 


___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: About kern.ipc.semmap on FreeBSD 9

2012-03-22 Thread Alexander Pyhalov

On 03/23/2012 01:52, Herbert J. Skuhra wrote:

On Thu, 22 Mar 2012 10:02:15 -0600
Efraín Déctorefraindec...@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?.


This has been removed in r224016:

http://svnweb.freebsd.org/base/head/sys/kern/sysv_sem.c?r1=223825r2=224016



Hello.
Could someone briefly explain, why this tunable was removed? I couldn't 
find anything relevant in  9.0 release notes.


--
Best regards,
Alexander Pyhalov,
system administrator of Computer Center of Southern Federal University
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: About kern.ipc.semmap on FreeBSD 9

2012-03-22 Thread Sergey Kandaurov
On 23 March 2012 09:20, Alexander Pyhalov a...@rsu.ru wrote:
 On 03/23/2012 01:52, Herbert J. Skuhra wrote:

 On Thu, 22 Mar 2012 10:02:15 -0600
 Efraín Déctorefraindec...@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?.


 This has been removed in r224016:


 http://svnweb.freebsd.org/base/head/sys/kern/sysv_sem.c?r1=223825r2=224016


 Hello.
 Could someone briefly explain, why this tunable was removed? I couldn't find
 anything relevant in  9.0 release notes.


Hey,
as it was explained in the comment to the commit that removed semmap,
this tune didn't do nothing since its appearance. If that really hurts you,
and you think that this will make you feel better, then you can always
revert that revision and continue to tune its option up :)

-- 
wbr,
pluknet
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org