Re: Errors: Too many open files - Mailing list pgsql-general

From Ken
Subject Re: Errors: Too many open files
Date
Msg-id 5.0.2.1.0.20011206200802.01e530b0@mail.fcs.net
Whole thread Raw
In response to Errors: Too many open files  (Ken <mailinglists@creason.com>)
List pgsql-general
I tried adding the ulimit -n 8192 to the startup
script (/etc/rc.d/init.d/postgres) but got an error
on the restart ... something about unary operator
expected, I think.
_Ken

At 07:01 PM 12/6/01, you wrote:
>On Thu, Dec 06, 2001 at 05:28:30PM -0800, Ken wrote:
>> ulimit -n 8192
>> (seems only to work for the current shell session)
>
>How did you start your system?  Why not add that to the startup
>script?
>
>> Can anybody tell me how to increase the resource allocation,
>> and exactly where to make this change?
>
>Not without knowing your OS and such.  But there's a section about it
>in the docs.
>
>--
>----
>Andrew Sullivan                               87 Mowat Avenue
>Liberty RMS                           Toronto, Ontario Canada
><andrew@libertyrms.info>                              M6K 3E3
>                                         +1 416 646 3304 x110


pgsql-general by date:

Previous
From: "Robert J. Sanford, Jr."
Date:
Subject: Re: How to make a REALLY FAST db server?
Next
From: tek1
Date:
Subject: alternative place to download pgaccess