Re: silent_mode and LINUX_OOM_ADJ
От | Heikki Linnakangas |
---|---|
Тема | Re: silent_mode and LINUX_OOM_ADJ |
Дата | |
Msg-id | 4E098561.7060402@enterprisedb.com обсуждение исходный текст |
Ответ на | Re: silent_mode and LINUX_OOM_ADJ (Reinhard Max <max@suse.de>) |
Ответы |
Re: silent_mode and LINUX_OOM_ADJ
|
Список | pgsql-hackers |
On 27.06.2011 12:38, Reinhard Max wrote: > On Mon, 27 Jun 2011 at 12:10, Heikki Linnakangas wrote: > >> Max, you're the maintainer of the PostgreSQL SuSE RPMs, right? > > my first name is Reinhard, but aside from that, you are right. ;) Sorry :-) >> Can you comment on the above? > > I enabled it many years ago when (IIRC) it was needed in conjunction > with "logging_collector = on" to get proper logging and especially log > rotation. It might very well be that it is not needed anymore and > suggestions for doing it better are welcome. It seems to me you could just stop setting silent_mode. If you want to capture any early errors at startup into a log file, like silent_mode does to postmaster.log, you can redirect stdout and stderr in the startup script. pg_ctl start -l postmaster.log will do the same. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления: