Re: [BUGS] Patch for not going beyond NOFILE system limit

2004-05-18 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > We have already fixed this in CVS and the fix will be in 7.5: I don't think that the previous changes address what the complainant seems to really want, viz not even *try* to exceed RLIMIT_NOFILE. However the patch certainly must be rejected since (a) i

Re: [BUGS] Patch for not going beyond NOFILE system limit

2004-05-17 Thread Bruce Momjian
We have already fixed this in CVS and the fix will be in 7.5: revision 1.107 date: 2004/02/23 20:45:59; author: tgl; state: Exp; lines: +145 -88 Do a direct probe during postmaster startup to determine the maximum number of openable files and the number

[BUGS] Patch for not going beyond NOFILE system limit

2004-05-17 Thread Martin Pitt
Hi PostgreSQL developers! 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 count_usable_fds(). This avoids irritating kernel logs (if system overstep violations ar