Обсуждение: pgsql: Don't actively violate the system limit of maximum open files

Поиск
Список
Период
Сортировка

pgsql: Don't actively violate the system limit of maximum open files

От
petere@postgresql.org (Peter Eisentraut)
Дата:
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)