Re: BUG #1549: initdb doesn't work

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #1549: initdb doesn't work
Дата
Msg-id 8977.1111167716@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #1549: initdb doesn't work  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-bugs
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Daniel van Eeden wrote:
>> creating template1 database in /opt/postgresql/data/base/1 ... FATAL:
>> semctl(10977333, 16, SETVAL, 536) failed: Invalid argument

> That is a problem with semaphores in your kernel.  Have you modified
> your postgresql.conf from the default?  If so, you should read the
> PostgreSQL documentation on how to modify your kernel for larger
> settings.

But it's failing at semctl() not semget().  So it seems he hasn't run
out of semaphores.  I wonder if SEMVMX is unusually small on his setup
(ie, less than 536).  My Linux semctl man page says that that case would
return ERANGE not EINVAL, but ...

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: BUG #1549: initdb doesn't work
Следующее
От: Andrew - Supernews
Дата:
Сообщение: Re: BUG #1541: Unusually long INSERT times after fresh clean/CREATE TABLES