Re: freebsd & postgresql 7.1.3

From: Brent Verner <brent(at)rcfile(dot)org>
To: "Yuri A(dot) Kabaenkov" <sec(at)artofit(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: freebsd & postgresql 7.1.3
Date: 2001-11-25 05:34:17
Message-ID: 20011125003417.A10018@rcfile.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 25 Nov 2001 at 07:24 (+0300), Yuri A. Kabaenkov wrote:
| Hello,
|
| Please can anyone tell me with what options must i start
| postmaster to handle many connections on subj.

in your postgresql.conf, set:

max_connections = NN

| May be i need to recompile my kernel, if yes what options should
| i add?

most likely. The kernel parameters you are interested in are:

options SEMMNI=AA
options SEMMNS=BB

...now, the values for SEMMNI and SEMMNS to support NN connections,
I'm not /sure/ of, but for NN==64 I set the following in my kernel

options SEMMNI=32
options SEMMNS=128

There may be other kernel parameters to help you get better performance,
so you might want to dig around the freebsd handbook a bit ;-)

hth.
brent

--
"Develop your talent, man, and leave the world something. Records are
really gifts from people. To think that an artist would love you enough
to share his music with anyone is a beautiful thing." -- Duane Allman

In response to

Browse pgsql-general by date

  From Date Subject
Next Message charles 2001-11-25 07:25:14 how to reduce checkpoint time?
Previous Message Yuri A. Kabaenkov 2001-11-25 04:24:07 freebsd & postgresql 7.1.3