Re: BUG #5196: Excessive memory consumption when using csvlog
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #5196: Excessive memory consumption when using csvlog |
| Дата | |
| Msg-id | 2352.1258596708@sss.pgh.pa.us обсуждение |
| Ответ на | BUG #5196: Excessive memory consumption when using csvlog ("Poindessous Thomas" <thomas@poindessous.com>) |
| Ответы |
Re: BUG #5196: Excessive memory consumption when using csvlog
|
| Список | pgsql-bugs |
"Poindessous Thomas" <thomas@poindessous.com> writes:
> we have a weird bug. When using csvlog instead of stderr, the postgres
> logger process uses a lot of memory. We even had an OOM error with kernel.
I poked at this a bit and noted that if only one of the two possible
output files is rotated, logfile_rotate() leaks a copy of the other
file's name. At the default settings this would only amount to one
filename string for every 10MB of output ... how much log output
does your test scenario generate?
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера