Re: Bottlenecks with large number of relation segment files - Mailing list pgsql-general

From Tom Lane
Subject Re: Bottlenecks with large number of relation segment files
Date
Msg-id 8091.1375705416@sss.pgh.pa.us
Whole thread Raw
In response to Re: Bottlenecks with large number of relation segment files  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: [HACKERS] Bottlenecks with large number of relation segment files  (KONDO Mitsumasa <kondo.mitsumasa@lab.ntt.co.jp>)
List pgsql-general
Andres Freund <andres@2ndquadrant.com> writes:
> ... Also, there are global
> limits to the amount of filehandles that can simultaneously opened on a
> system.

Yeah.  Raising max_files_per_process puts you at serious risk that
everything else on the box will start falling over for lack of available
FD slots.  (PG itself tends to cope pretty well, since fd.c knows it can
drop some other open file when it gets EMFILE.)  We more often have to
tell people to lower that limit than to raise it.

            regards, tom lane


pgsql-general by date:

Previous
From: Florian Weimer
Date:
Subject: Re: Bottlenecks with large number of relation segment files
Next
From: Chris Travers
Date:
Subject: Re: Why are stored procedures looked on so negatively?