| От | Tom Lane |
|---|---|
| Тема | Re: Running postgresql/initdb on linux/parisc problem |
| Дата | |
| Msg-id | 29813.1047508117@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Running postgresql/initdb on linux/parisc problem (Guy Martin <gmsoft@gentoo.org>) |
| Список | pgsql-admin |
Guy Martin <gmsoft@gentoo.org> writes:
> IpcSemaphoreCreate: semget(key=129, num=17, 03600) failed: No space left on
> device
I think the issue is that src/include/port/linux.h does not believe that
PARISC knows about test-and-set, so you're getting extra semaphores
being created (or trying to be created) to substitute for TAS spinlocks.
This is bad for performance, quite aside from the fact that you'd need
to boost the system's SEMMNI and/or SEMMNS to run Postgres that way.
Feel free to send in a patch that fixes it ;-). There is code already
that implements TAS for PARISC under HPUX, but I'm not sure whether it'd
need any tweaking to make it compile under Linux.
regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера