Re: [GENERAL] initdb fails to allocate shared memory

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] initdb fails to allocate shared memory
Дата
Msg-id 23817.1282764514@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [GENERAL] initdb fails to allocate shared memory  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
I wrote:
> it appears from your report that OS X is also using ENOMEM when SHMALL
> is exceeded, which is not all that surprising because actually none of
> the spec-defined error codes cover SHMALL exhaustion.

A look into
http://www.opensource.apple.com/source/xnu/xnu-1504.7.4/bsd/kern/sysv_shm.c
confirms this:
if ((user_ssize_t)(shm_committed + btoc(total_size)) > shminfo.shmall)    return ENOMEM;

So this behavior is probably common among BSDen.
        regards, tom lane


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

Предыдущее
От: "A.M."
Дата:
Сообщение: new notify payload as string
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Python 2.7 deprecated the PyCObject API?