Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TqMAj-00044U-LF for pgsql-pkg-debian@arkaria.postgresql.org; Wed, 02 Jan 2013 11:07:45 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TqMAi-0006PB-Os for pgsql-pkg-debian@arkaria.postgresql.org; Wed, 02 Jan 2013 11:07:44 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TqMAi-0006P5-25 for pgsql-pkg-debian@postgresql.org; Wed, 02 Jan 2013 11:07:44 +0000 Received: from acidenitrix.villemain.org ([91.121.90.165]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TqMAg-0003uM-JU for pgsql-pkg-debian@postgresql.org; Wed, 02 Jan 2013 11:07:43 +0000 Received: from [89.157.243.169] (helo=Dimitris-MacBook-Air.local) by acidenitrix.villemain.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1TqMAd-0000IR-UD; Wed, 02 Jan 2013 12:07:40 +0100 From: Dimitri Fontaine To: Christoph Berg Cc: Kirill Kuznetsov , Greg Smith , pgsql-pkg-debian@postgresql.org Subject: Re: "ulimit -n" in postgresql/pgbouncer init scripts. Organization: 2ndQuadrant References: <20121228115654.GB26096@msgid.df7cb.de> User-Mail-Address: dimitri@2ndQuadrant.fr Date: Wed, 02 Jan 2013 12:07:30 +0100 In-Reply-To: <20121228115654.GB26096@msgid.df7cb.de> (Christoph Berg's message of "Fri, 28 Dec 2012 12:56:54 +0100") Message-ID: User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Pg-Spam-Score: -1.9 (-) X-Mailing-List: pgsql-pkg-debian List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Precedence: bulk Sender: pgsql-pkg-debian-owner@postgresql.org Christoph Berg 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