syslogger file descriptor question

Поиск
Список
Период
Сортировка
От chenyanfei
Тема syslogger file descriptor question
Дата
Msg-id 1619748991620-0.post@n3.nabble.com
обсуждение исходный текст
Ответы Re: syslogger file descriptor question
Список pgsql-bugs
When use the  pg_ctl start -l  command to start the postgres, I find the
syslogger process point to the specified log file.


With long time running, the log file is too big. So we delete it, but the fd
is show as deleted.


It looks like the file descriptor leak. Although this problem has little
impact, it brings troubles to customers.
The regular file has the rotate mechanism, so it can close the old fd and
reopen the new file.

My question is if I specify them to /dev/null whether have any problem. I
find one process do this not in first start.




--
Sent from: https://www.postgresql-archive.org/PostgreSQL-bugs-f2117394.html



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