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

pgsql: Fix count_usable_fds() to stop trying to open files once it

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix count_usable_fds() to stop trying to open files once it
Date: 2005-08-07 18:47:20
Message-ID: 20050807184720.594D75282E@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Fix count_usable_fds() to stop trying to open files once it reaches
max_files_per_process.  Going further than that is just a waste of
cycles, and it seems that current Cygwin does not cope gracefully
with deliberately running the system out of FDs.  Per Andrew Dunstan.

Modified Files:
--------------
    pgsql/src/backend/storage/file:
        fd.c (r1.118 -> r1.119)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/file/fd.c.diff?r1=1.118&r2=1.119)

pgsql-committers by date

Next:From: Tom LaneDate: 2005-08-07 18:47:38
Subject: pgsql: Fix count_usable_fds() to stop trying to open files once it
Previous:From: User AndrewdDate: 2005-08-06 23:19:39
Subject: pgbuildfarm - client-code: split --from-source into two options - one

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