pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
To: Christoph Berg <myon@debian.org>
Cc: Kirill Kuznetsov <kir@evilmartians.com>
Cc: Greg Smith <greg@2ndQuadrant.com>
Cc: pgsql-pkg-debian@postgresql.org
Subject: Re: "ulimit -n" in postgresql/pgbouncer init scripts.
Date: Wed, 02 Jan 2013 12:07:30 +0100
Message-ID: <m2licbetcd.fsf@2ndQuadrant.fr> (raw)
In-Reply-To: <20121228115654.GB26096@msgid.df7cb.de>
References: <20121228115654.GB26096@msgid.df7cb.de>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-pkg-debian>

Christoph Berg <myon@debian.org> writes:
> That said, there's nothing really wrong with editing
> /etc/default/pgbouncer or /etc/init.d/postgresql to do the ulimit

One trick here that I've used in the past is that /etc/default/pgbouncer
is actually sources as a shell script, so you can add your ulimit
command directly in the default file. Works nice.

Regards,
-- 
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support


-- 
Sent via pgsql-pkg-debian mailing list (pgsql-pkg-debian@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-pkg-debian



view thread (4+ messages)

Message-ID: <m2licbetcd.fsf@2ndQuadrant.fr>
Permalink:  ../m2licbetcd.fsf@2ndQuadrant.fr/
Also on:    postgresql.org/message-id/m2licbetcd.fsf@2ndQuadrant.fr

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-pkg-debian@postgresql.org
  Cc: dimitri@2ndQuadrant.fr, myon@debian.org, kir@evilmartians.com, greg@2ndQuadrant.com
  Subject: Re: "ulimit -n" in postgresql/pgbouncer init scripts.
  In-Reply-To: <m2licbetcd.fsf@2ndQuadrant.fr>
  References: <20121228115654.GB26096@msgid.df7cb.de> <m2licbetcd.fsf@2ndQuadrant.fr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox