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.