Skip site navigation (1) Skip section navigation (2)

Patch for not going beyond NOFILE system limit (updated)

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Patch for not going beyond NOFILE system limit (updated)
Date: 2009-02-27 12:50:49
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
This is an updated and properly autoconf-guarded patch for this 
previously reported issue:

Jacek Drobiecki recently sent me a patch which stops postgresql to
actively violate the system limit of maximum open files
(RLIMIT_NOFILE) in src/backend/storage/file/fd.c, function

This avoids irritating kernel logs (if system overstep violations are
enabled) and also the grsecurity alert when starting PostgreSQL.


I think we can put this into 8.4 or the first commit fest of 8.5.

Attachment: check-rlimits-nofile.patch
Description: text/x-diff (1.5 KB)

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2009-02-27 14:19:04
Subject: Re: Hot Standby - >8.5
Previous:From: Heikki LinnakangasDate: 2009-02-27 12:19:26
Subject: Re: Immediate shutdown and system(3)

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group