| От | Tom Lane |
|---|---|
| Тема | Re: bad function lets postgres crash |
| Дата | |
| Msg-id | 16686.1183514849@sss.pgh.pa.us обсуждение |
| Ответ на | bad function lets postgres crash (Clemens Schwaighofer <cs@tequila.co.jp>) |
| Список | pgsql-general |
Clemens Schwaighofer <cs@tequila.co.jp> writes:
> both servers are debian packages 8.1.9-1, but on the one that crashed I
> increased the stack depth to 8192. Could it be that postgres ran out of
> memory and terminated itself?
Increasing the stack depth parameter to more than what the kernel really
allows *will* cause crashes, whenever the kernel's limit is exceeded.
Check the ulimit settings the postmaster was started under.
Since (I think) 8.2 we have some code in there that tries to prevent
setting max_stack_depth higher than is safe; but older versions assume
you know what you're doing.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера