| От | Tom Lane |
|---|---|
| Тема | Re: What happens when syslog gets blocked? |
| Дата | |
| Msg-id | 27713.1249584212@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | What happens when syslog gets blocked? (decibel <decibel@decibel.org>) |
| Ответы |
Re: What happens when syslog gets blocked?
|
| Список | pgsql-general |
decibel <decibel@decibel.org> writes:
> We recently had a problem with a database where the /var filesystem
> got corrupted. This appears to have seriously impacted the ability of
> STDERR from Postgres to get put out to disk, which ended up blocking
> backends.
> Because of this we want to switch from using STDERR to using syslog,
> but I'm not sure if syslog() can end up blocking or not.
syslog (at least in the implementations I'm familiar with) has the
opposite problem: when the going gets tough, it starts losing messages.
I do not think you'll really be making your life better by switching.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера