[Pkg-postgresql-public] Bug#694989: postgres ($pid): /proc/$pid/oom_adj is deprecated, please use /proc/$pid/oom_score_adj instead.

Christoph Berg myon at debian.org
Mon Dec 10 16:42:48 UTC 2012

Re: sacrificial-spam-address at horizon.com 2012-12-03 <20121203012358.29752.qmail at science.horizon.com>
> 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.

cb at df7cb.de | http://www.df7cb.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-postgresql-public/attachments/20121210/366e6aed/attachment.pgp>

More information about the Pkg-postgresql-public mailing list