Re: [HACKERS] Postmaster dies with many child processes (spinlock/semget failed)
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: [HACKERS] Postmaster dies with many child processes (spinlock/semget failed) |
| Дата | |
| Msg-id | 5250.917727495@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [HACKERS] Postmaster dies with many child processes (spinlock/semget failed) (Tatsuo Ishii <t-ishii@sra.co.jp>) |
| Список | pgsql-hackers |
Tatsuo Ishii <t-ishii@sra.co.jp> writes:
> BTW, as I pointed out before, PostgreSQL will have serious problem
> once hitting the MaxBackendId. My patches I proposed for this seem
> still under discussion.
Not sure why that didn't get applied before, but I just put it in,
and verified that you can start exactly MaxBackendId backends
(assuming that you don't hit any kernel resource limits on the way).
BTW, we do recover quite gracefully from hitting MAXUPRC (kernel
limit on processes for one userid) :-). But that's just because the
postmaster's initial fork() fails. A failure any later than that
in backend startup will be treated as a backend crash ...
I agree with Hannu Krosing's remark that we really need some
documentation about kernel parameters that have to be checked when
setting up a non-toy database server. I've personally run into
NFILES limits, for instance, with not all that many backends running.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера