Re: Size estimation of postgres core files

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Size estimation of postgres core files
Дата
Msg-id 20190215163655.GA16325@alvherre.pgsql
обсуждение исходный текст
Ответ на Size estimation of postgres core files  (Jeremy Finzel <finzelj@gmail.com>)
Ответы Re: Size estimation of postgres core files  (Jeremy Finzel <finzelj@gmail.com>)
Список pgsql-general
On 2019-Feb-15, Jeremy Finzel wrote:

> I am trying to determine the upper size limit of a core file generated for
> any given cluster.  Is it feasible that it could actually be the entire
> size of the system memory + shared buffers (i.e. really huge)?

In Linux, yes.  Not sure about other OSes.

You can turn off the dumping of shared memory with some unusably
unfriendly bitwise arithmetic using the "coredump_filter" file in /proc
for the process.  (It's inherited by children, so you can just set it
once for postmaster at server start time).

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


В списке pgsql-general по дате отправления:

Предыдущее
От: Jeremy Finzel
Дата:
Сообщение: Size estimation of postgres core files
Следующее
От: Andres Freund
Дата:
Сообщение: Re: WSL (windows subsystem on linux) users will need to turn fsyncoff as of 11.2