]> 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:45:59 +0000 (20:45 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 23 Feb 2004 20:45:59 +0000 (20:45 +0000)
commitf83356c7f574bc69969f29dc7b430b286a0cd9f4
tree203be32611de0c869819c16e50f9e9d28027edb5
parentb4c8dcb294d8138bb66891d62e4f43196da01d52
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