[From nobody Tue Jul 21 19:27:18 2009
Received: (at 537859-done) by bugs.debian.org; 21 Jul 2009 19:20:02 +0000
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
	(2007-08-08) on rietz.debian.org
X-Spam-Level: 
X-Spam-Bayes: score:0.0000 Tokens: new, 49; hammy, 101; neutral, 60; spammy,
	4. spammytokens:1.000-3--mill, 1.000-1--killer, 1.000-1--Mill,
	0.995-1--oom
	hammytokens:0.000-+--H*u:1.5.20, 0.000-+--H*UA:1.5.20,
	0.000-+--H*UA:2009-06-14, 0.000-+--H*u:2009-06-14, 0.000-+--D*ubuntu.com
X-Spam-Status: No, score=-8.6 required=4.0 tests=AWL,BAYES_00,FROMDEVELOPER,
	HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02
Return-path: &lt;vorlon@debian.org&gt;
Received: from minbar.dodds.net ([66.93.39.86] ident=postfix)
	by rietz.debian.org with esmtp (Exim 4.63)
	(envelope-from &lt;vorlon@debian.org&gt;) id 1MTKsa-0002Km-Em
	for 537859-done@bugs.debian.org; Tue, 21 Jul 2009 19:20:00 +0000
Received: from dario.dodds.net (unknown [192.168.13.50])
	by minbar.dodds.net (Postfix) with ESMTPA id 1CDD61009E;
	Tue, 21 Jul 2009 12:19:58 -0700 (PDT)
Received: by dario.dodds.net (Postfix, from userid 1000)
	id 84E911E17A; Tue, 21 Jul 2009 12:19:58 -0700 (PDT)
Date: Tue, 21 Jul 2009 12:19:58 -0700
From: Steve Langasek &lt;vorlon@debian.org&gt;
To: Maximilian Mill &lt;mill@in-medias-res.com&gt;, 537859-done@bugs.debian.org
Subject: Re: [Pkg-openldap-devel] Bug#537859: slapd: Please add support to
	set an oom_killer ignore
Message-ID: &lt;20090721191958.GA16069@dario.dodds.net&gt;
References: &lt;20090721120757.14181.45321.reportbug@mytux.intra.in-medias-res.com&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: &lt;20090721120757.14181.45321.reportbug@mytux.intra.in-medias-res.com&gt;
User-Agent: Mutt/1.5.20 (2009-06-14)

On Tue, Jul 21, 2009 at 02:07:57PM +0200, Maximilian Mill wrote:
&gt; i had some cases where slapd gets killed and other not needed processes were
&gt; still active. It would be nice, if slapd gets some setting like ssh has:
&gt; configurable oom_killer ignore in /etc/default/ssh.

&gt; At the moment,  i just added one line in /etc/init.d/slapd :
&gt; echo &quot;-17&quot; &gt;&gt; /proc/`cat $SLAPD_PIDFILE`/oom_adj
&gt; This works for me, but its ugly if the package gets upgraded.
&gt; Maybe integrate it in the daemon like ssh has.

I don't think this is a common enough use case to justify supporting it in
the package.  If your OOM killer is firing at all, you obviously have other
problems, far outweighing the occasional conffile prompt on upgrade.

You could also create this as an entirely separate init script, run after
slapd, to avoid the conffile problem.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

]