Re: PANIC: could not flush dirty data: Cannot allocate memory
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: PANIC: could not flush dirty data: Cannot allocate memory |
| Дата | |
| Msg-id | 1004346.1668485123@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: PANIC: could not flush dirty data: Cannot allocate memory (Thomas Munro <thomas.munro@gmail.com>) |
| Список | pgsql-general |
Thomas Munro <thomas.munro@gmail.com> writes:
> It has been argued before that we might have been over-zealous
> applying the PANIC promotion logic to sync_file_range(). It's used to
> start asynchronous writeback to make the later fsync() call fast, so
> it's "only a hint", but I have no idea if it could report a writeback
> error from the kernel that would then be consumed and not reported to
> the later fsync(), so I defaulted to assuming that it could.
Certainly, if it reports EIO, we should panic. But maybe not for
ENOMEM? One would assume that that means that the request didn't
get queued for lack of in-kernel memory space ... in which case
"nothing happened".
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера