Re: Optimal configuration to eliminate "out of file descriptors" error - Mailing list pgsql-general

From Joe Lester
Subject Re: Optimal configuration to eliminate "out of file descriptors" error
Date
Msg-id EE2F65A7-8FB6-11D8-8993-000A95A58EA0@sweetwater.com
Whole thread Raw
In response to Re: Optimal configuration to eliminate "out of file descriptors" error  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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@wolff.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.



pgsql-general by date:

Previous
From: Shalu Gupta
Date:
Subject: Accessing RelOptInfo structure from the executor module
Next
From: "scott.marlowe"
Date:
Subject: Re: [HACKERS] Remove MySQL Tools from Source?