| От | Tom Lane |
|---|---|
| Тема | Re: 8.4.12 log truncation not working? |
| Дата | |
| Msg-id | 28534.1343658466@sss.pgh.pa.us обсуждение |
| Ответ на | 8.4.12 log truncation not working? (pg noob <pgnube@gmail.com>) |
| Список | pgsql-novice |
pg noob <pgnube@gmail.com> writes: > For some reason the log truncation doesn't seem to be working on my server. > I have set log_rotation_age to 1 day and log_truncate_on_rotation to on. > ... > I don't have any periodic scheduled Postgres restarts but the server does > get restarted frequently. There is a known issue that the server will append rather than truncating at the first rotation opportunity after a restart. So if "frequently" means "more than once a day", that would explain your results. This was complained of recently: http://archives.postgresql.org/pgsql-bugs/2012-07/msg00116.php but nobody's done anything about it yet. regards, tom lane
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера