* Alex Hunsaker (badalex(at)gmail(dot)com) wrote:
> As long as the VM/container you are running under wont kill postmaster
> for trying to access proc-- the patch I posted should work fine. It
> just ignores any error (I assumed you might be running in a chroot
> without proc or some such).
As I recall, oom_adj wasn't visible in the container because you
explicitly set what proc entries processes can have access to when using
VServers, and OpenSSH didn't handle that cleanly. Guess what I'm just
saying is "don't just assume everything is as it would be on a 'normal'
system when dealing with /proc and friends", and, of course, test, test,
test when you're talking about back-porting things.
In response to
pgsql-hackers by date
|Next:||From: Greg Stark||Date: 2010-01-08 17:26:05|
|Subject: Re: true serializability and predicate locking|
|Previous:||From: Tom Lane||Date: 2010-01-08 17:24:18|
|Subject: Re: Setting oom_adj on linux? |