Re: Limit allocated memory per session - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Limit allocated memory per session
Date
Msg-id 29375.1254417189@sss.pgh.pa.us
Whole thread Raw
In response to Re: Limit allocated memory per session  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: Limit allocated memory per session
Re: Limit allocated memory per session
List pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Oh, BTW, did anyone get interested in adding the bits to disable the OOM
> killer for postmaster on the various Linux initscripts?  It needs some
> games with /proc/<pid>/oom_adj and requires root privileges, but I think
> an initscript is in an excellent position to do it.

I was imagining that this would be something for individual distros
to tackle.  It's probably not portable enough to go into the
contrib/start-scripts examples.  On the other hand, it'd make lots
of sense to have the Fedora or Debian or whatever scripts do this,
since they know what kernel version they're targeting.  (If anyone
wants to send me the fixes to make Fedora's script do this ...)
        regards, tom lane


pgsql-hackers by date:

Previous
From: Euler Taveira de Oliveira
Date:
Subject: Re: Rejecting weak passwords
Next
From: Stephen Frost
Date:
Subject: Re: Limit allocated memory per session