Re: "ulimit -n" in postgresql/pgbouncer init scripts.

From: Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>
To: Christoph Berg <myon(at)debian(dot)org>
Cc: Kirill Kuznetsov <kir(at)evilmartians(dot)com>, Greg Smith <greg(at)2ndQuadrant(dot)com>, pgsql-pkg-debian(at)postgresql(dot)org
Subject: Re: "ulimit -n" in postgresql/pgbouncer init scripts.
Date: 2013-01-02 11:07:30
Message-ID: m2licbetcd.fsf@2ndQuadrant.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian

Christoph Berg <myon(at)debian(dot)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

In response to

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message Martin Pitt 2013-01-03 16:04:28 Re: howto upgrade from 8.4 to 9.2 without the remove & install of postgresql
Previous Message Christoph Berg 2012-12-28 12:09:08 Re: howto upgrade from 8.4 to 9.2 without the remove & install of postgresql