]> granicus.if.org Git - postgresql/commit
Don't actively violate the system limit of maximum open files (RLIMIT_NOFILE).
authorPeter Eisentraut <peter_e@gmx.net>
Wed, 4 Mar 2009 09:12:49 +0000 (09:12 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Wed, 4 Mar 2009 09:12:49 +0000 (09:12 +0000)
commit9add9f95c334f68769e17b6814abe0b781d83082
treeca10c9cfe475074f4e3be48521ea51671873aa6a
parenta2e9de79a644359957d1bdd4e02c5613facd9b18
Don't actively violate the system limit of maximum open files (RLIMIT_NOFILE).
This avoids irritating kernel logs (if system overstep violations are enabled)
and also the grsecurity alert when starting PostgreSQL.

original patch by Jacek Drobiecki

References:
http://archives.postgresql.org/pgsql-bugs/2004-05/msg00103.php
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=248967
src/backend/storage/file/fd.c