pgsql: Don't actively violate the system limit of maximum open files - Mailing list pgsql-committers

From petere@postgresql.org (Peter Eisentraut)
Subject pgsql: Don't actively violate the system limit of maximum open files
Date
Msg-id 20090304091250.012EE755AA5@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
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

Modified Files:
--------------
    pgsql/src/backend/storage/file:
        fd.c (r1.147 -> r1.148)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/file/fd.c?r1=1.147&r2=1.148)

pgsql-committers by date:

Previous
From: mha@postgresql.org (Magnus Hagander)
Date:
Subject: pgsql: Log a warning instead of shutting down the system if we can't
Next
From: petere@postgresql.org (Peter Eisentraut)
Date:
Subject: pgsql: Add new SQL:2008 error codes for invalid LIMIT and OFFSET values.