Re: log_collector doesn't respond to reloads

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: log_collector doesn't respond to reloads
Дата
Msg-id 18699.1335487841@sss.pgh.pa.us
обсуждение исходный текст
Ответ на log_collector doesn't respond to reloads  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: log_collector doesn't respond to reloads  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-bugs
Josh Berkus <josh@agliodbs.com> writes:
> Summary: despite pg_reload(), log directory, filename and destination
> don't change

Looking at the code, it's really hard to see how this could possibly
happen, unless maybe the process is blocking receipt of SIGHUP.  Which
it shouldn't be.  Not sure about RHEL5, but on recent Linuxen you can
check the process's signal masks like this:

    grep ^Sig /proc/NNNN/status

where NNNN is the logging collector's PID.  Could we see that?

            regards, tom lane

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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: log_collector doesn't respond to reloads
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: log_collector doesn't respond to reloads