[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Texmacs-dev] number of open files
From: |
Joris van der Hoeven |
Subject: |
Re: [Texmacs-dev] number of open files |
Date: |
Fri, 16 Sep 2011 18:37:56 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Hi Josef,
On Fri, Sep 16, 2011 at 06:04:57PM +0200, Josef Weidendorfer wrote:
> On Friday 16 September 2011, Joris van der Hoeven wrote:
> > provoke and might pop up at other moments later). In particular,
> > I still do not understand why I have "too many open files",
> > eventhough lsof gives me far less open files (124) than
> > the allowed limit.
>
> Just a quick guess: After mmap'ing a file, you can close the
> descriptor, but perhaps it still falls under the OS X limit until
> a munmap is done? This would explain the connection to freetype,
> which seems to map fonts into memory.
Thanks for this possible explanation. Is there some way to know
how many closed FDs are mapped into memory and still counted by the OS?
This would allow me to check whether your hypothesis is right.
Best, --Joris