Re: [email protected] 2012-12-03 
<[email protected]>
> Package: postgresql-9.2
> Version: 9.2.1-1
> Severity: minor
> 
> The above kernel complaint is generated when postgres starts up.
> Presumably, it would be nice to shut it up.
> (Kernel is 3.6.7, i686, FWIW.)

There's both oom_adj and oom_score_adj interfaces in the postgresql
source, and you can even activate both, but unfortunately that means
it will just write to both files. oom_score_adj appeared upstream on
Aug 9 2010 in a63d83f427fbce97a, that's probably not long ago enough
to switch to only using this file. (I'd need to dig up which kernel
version this corresponds to.) And there's backports...

The better fix seems to try to get a patch into postgresql that it
will only try one file even if it finds both.

Also, wheezy's current 3.2.0 kernel doesn't throw this message so
there's no urgent need to fix this right now.

Christoph
-- 
[email protected] | http://www.df7cb.de/

Attachment: signature.asc
Description: Digital signature

Reply via email to