Too many open files! how do I fix on linux? - Mailing list pgsql-general

From adb
Subject Too many open files! how do I fix on linux?
Date
Msg-id Pine.GSO.4.10.10101261918090.2561-100000@hairdini.beast.com
Whole thread Raw
Responses Re: Too many open files! how do I fix on linux?
List pgsql-general
Hi again, I'm getting stuff like

ERROR:  cannot write block 1056 of tradehistory [testdb] blind: Too many
open files in system

and

postmaster: StreamConnection: accept: Too many open files in system

I understand that I need to up the max number of open files in the linux
kernel but I'd like to know what's a good number to set it to for a high
traffic postgres server and what's the best way to set it in linux so
it's permanent?

(These are during some performance tests I'm running with about 40
simultaneous clients)

Thanks,

Alex.


pgsql-general by date:

Previous
From: Doug McNaught
Date:
Subject: Re: Backends dying due to memory exhaustion--I'm stonkered
Next
From: Doug McNaught
Date:
Subject: Re: