Re: silent_mode and LINUX_OOM_ADJ
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
From: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: Reinhard Max <max@suse.de>
Cc: Magnus Hagander <magnus@hagander.net>, Alvaro Herrera <alvherre@commandprompt.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>, Peter Geoghegan <peter@2ndquadrant.com>
Date: 2011-06-28T07:40:17Z
Lists: 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