Re: "ulimit -n" in postgresql/pgbouncer init scripts. - Mailing list pgsql-pkg-debian

From Dimitri Fontaine
Subject Re: "ulimit -n" in postgresql/pgbouncer init scripts.
Date
Msg-id m2licbetcd.fsf@2ndQuadrant.fr
Whole thread Raw
In response to Re: "ulimit -n" in postgresql/pgbouncer init scripts.  (Christoph Berg <myon@debian.org>)
List pgsql-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


pgsql-pkg-debian by date:

Previous
From: Christoph Berg
Date:
Subject: Re: howto upgrade from 8.4 to 9.2 without the remove & install of postgresql
Next
From: Martin Pitt
Date:
Subject: Re: howto upgrade from 8.4 to 9.2 without the remove & install of postgresql