]> granicus.if.org Git - postgresql/commit
Do a direct probe during postmaster startup to determine the maximum
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 23 Feb 2004 20:46:16 +0000 (20:46 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 23 Feb 2004 20:46:16 +0000 (20:46 +0000)
commit95a6dbf12b2aa7261cd6f13f41cc8de8a693ee75
tree03985fbffc9a34f8e9ca3a58cacbbb7f49aed89f
parentfd7d98a271e65bc982e9af0f76b765ef50baa247
Do a direct probe during postmaster startup to determine the maximum
number of openable files and the number already opened.  This eliminates
depending on sysconf(_SC_OPEN_MAX), and allows much saner behavior on
platforms where open-file slots are used up by semaphores.
doc/src/sgml/runtime.sgml
src/backend/postmaster/postmaster.c
src/backend/storage/file/fd.c
src/backend/utils/misc/guc.c
src/include/storage/fd.h