Re: Too-many-files errors on OS X - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Too-many-files errors on OS X
Date
Msg-id 20512.1077507700@sss.pgh.pa.us
Whole thread Raw
In response to Re: Too-many-files errors on OS X  (Kevin Brown <kevin@sysexperts.com>)
Responses Re: Too-many-files errors on OS X  (Andrew Rawnsley <ronz@ravensfield.com>)
List pgsql-hackers
Kevin Brown <kevin@sysexperts.com> writes:
> Tom Lane wrote:
>> Hmm.  This may be OS-specific.  The shlibs certainly show up in the
>> output of lsof in every variant I've checked, but do they count against
>> your open-file limit?

> It seems not, for both shared libraries that are linked in at startup
> time by the dynamic linker and shared libraries that are explicitly
> opened via dlopen().

It would certainly make life a lot easier if we could assume that dlopen
doesn't reduce your open-files limit.

> Attached is the test program I used.

Can folks please try this on other platforms?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Kevin Brown
Date:
Subject: Re: Too-many-files errors on OS X
Next
From: Tom Lane
Date:
Subject: Re: Too-many-files errors on OS X