Re: SIGTERM/FATAL error

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: SIGTERM/FATAL error
Дата
Msg-id 200103120053.TAA21006@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: SIGTERM/FATAL error  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: SIGTERM/FATAL error  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > I have applied the following patch to make SIGTERM backend exit clearer
> > in the the server logs.  "The system" is not really shutting down, but
> > "the backend" is shutting down.
> 
> This is a non-improvement.  Please reverse it.  SIGTERM would only be
> sent to a backend if the database system were in fact shutting down.

Reversed.

But why say the system is shutting down if the backend is shutting down.
Seems the postmaster should say system shutting down and each backend
should say it is shutting itself down.  The way it is now, don't we get
a "system shutting down" message for every running backend?


> 
> > Should we be showing the PID's in the server logs more.  Do we need to
> > enable that somewhere?
> 
> There's already an option for that, but it should not be forced on since
> it will be redundant for those using syslog.

Does syslog show the pid?

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: SIGTERM/FATAL error
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: SIGTERM/FATAL error