Search Postgresql Archives

Re: PANIC: could not flush dirty data: Cannot allocate memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thomas Munro <thomas.munro@xxxxxxxxx> 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





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux