Re: silent_mode and LINUX_OOM_ADJ - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: silent_mode and LINUX_OOM_ADJ
Date
Msg-id 4E098561.7060402@enterprisedb.com
Whole thread Raw
In response to Re: silent_mode and LINUX_OOM_ADJ  (Reinhard Max <max@suse.de>)
Responses Re: silent_mode and LINUX_OOM_ADJ
List 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 by date:

Previous
From: Leonardo Francalanci
Date:
Subject: Re: Your Postgresql 9.2 patch
Next
From: Alexander Korotkov
Date:
Subject: Re: WIP: Fast GiST index build