Re: Too-many-files errors on OS X

From: abe(at)purdue(dot)edu (Vic Abell)
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Too-many-files errors on OS X
Date: 2004-02-24 13:44:20
Message-ID: 825ee26b.0402240544.46ff0e91@posting.google.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

tgl(at)sss(dot)pgh(dot)pa(dot)us (Tom Lane) wrote in message (in part)
> ...
> 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?

From the lsof FAQ:

> 5.2 Why doesn't Apple Darwin lsof report text file information?
>
> At the first port of lsof to Apple Darwin, revision 4.53,
> insufficient information was available -- logic and header
> files -- to permit the installation of VM space scanning
> for text files. As of lsof 4.70 it is sill not available.
> Text file support will be added to Apple Darwin lsof after
> the necessary information becomes available.

Lsof calls the executable and shared libraries "text files." The
lsof FAQ may be found at:

ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ

I have developed a hack which will be released at lsof revision
4.71. A pre-release source distribution of 4.71 only for Darwin is
available at:

ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/NEW/lsof_4.71C.darwin.tar.bz2

Note that you must build the lsof executable from that distribution
and building lsof requires that you download the XNU headers from
www.opensource.apple.com/darwinsource/. Downloading the XNU headers
requires an Apple ID and password.

Vic Abell, lsof author

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Claudio Natoli 2004-02-24 14:19:12 Re: [HACKERS] Win32 regression test status
Previous Message Andrew Dunstan 2004-02-24 12:58:33 Re: [HACKERS] Win32 regression test status