7.4.3 initdb: could not create semaphores

Поиск
Список
Период
Сортировка
От teknet@poczta.onet.pl
Тема 7.4.3 initdb: could not create semaphores
Дата
Msg-id 20040702132114Z2653033-22184+44473@kps3.test.onet.pl
обсуждение исходный текст
Ответы Re: 7.4.3 initdb: could not create semaphores
Список pgsql-admin

Hello

I have FreeBSD5.1, postgresql 7.4.3, when i tried to:

initdb -D /usr/local/pgsql/data

i receive:

......

selecting default max_connections... 10
selecting default shared_buffers... 50
creating configuration files... ok
creating template1 database in /usr/local/pgsql/data//base/1... FATAL:  could not create semaphores: No space left on device
DETAIL:  Failed system call was semget(1, 17, 03600).
HINT:  This error does *not* mean that you have run out of disk space.
        It occurs when either the system limit for the maximum number of semaphore sets (SEMMNI), or the system wide maximum number of semaphores (SEMMNS), would be exceeded.  You need to raise the respective kernel parameter.  Alternatively, reduce PostgreSQL's consumption of semaphores by reducing its max_connections parameter (currently 10).
        The PostgreSQL documentation contains more information about configuring your system for PostgreSQL.

initdb: failed
initdb: removing data directory "/usr/local/pgsql/data/"

When i tried to edit in /usr/local/share/postgres/postgresql.conf

and set max_connection = 8 nothing changed, initdb again used:

selecting default max_connections... 10

Why ?

How can i sovle this problem ?

 

Thanx

Michal

В списке pgsql-admin по дате отправления:

Предыдущее
От: Oliver Elphick
Дата:
Сообщение: Re: Postgres IDENT auth problems...
Следующее
От: Corey.Brune@transplace.com
Дата:
Сообщение: Re: 7.4.3 initdb: could not create semaphores