From: | Ken <mailinglists(at)creason(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Errors: Too many open files |
Date: | 2001-12-07 04:10:18 |
Message-ID: | 5.0.2.1.0.20011206200802.01e530b0@mail.fcs.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)libertyrms(dot)info> M6K 3E3
> +1 416 646 3304 x110
From | Date | Subject | |
---|---|---|---|
Next Message | Frank Finner | 2001-12-07 06:21:11 | Re: Errors: Too many open files |
Previous Message | Robert J. Sanford, Jr. | 2001-12-07 02:18:50 | Re: How to make a REALLY FAST db server? |