Re: Optimal configuration to eliminate "out of file descriptors" error

From: Joe Lester <joe_lester(at)sweetwater(dot)com>
To: postgres list <pgsql-general(at)postgresql(dot)org>
Subject: Re: Optimal configuration to eliminate "out of file descriptors" error
Date: 2004-04-16 15:01:25
Message-ID: EE2F65A7-8FB6-11D8-8993-000A95A58EA0@sweetwater.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Yeah. It was my shell that was the bottleneck. What did the trick was
adding this line in /etc/profile:

ulimit -n 8000

Thanks!

> Bruno Wolff III <bruno(at)wolff(dot)to> writes:
>> It sounds like what is really happening is that
>> you are hitting an OS limit on the number of open files. You should be
>> able to increase that limit. There have also been some discussions
>> about
>> postgres doing a better job of telling when it has opened too many
>> files
>> within the last several months. I don't remember much about the
>> details
>> of the change or which version they were applied to.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Shalu Gupta 2004-04-16 15:17:13 Accessing RelOptInfo structure from the executor module
Previous Message Giorgio Valoti 2004-04-16 14:41:57 Locale support on Mac OS X