Subject: Re: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X

From: Eli Zaretskii <[email-masked]>
Date: Sat, 27 Feb 2016 14:40:52 +0200

> From: Michael Albinus <[email-masked]>
> Cc: Eli Zaretskii <[email-masked]>,  [email-masked]
> Date: Sat, 27 Feb 2016 13:17:50 +0100
> 
> albinus@freebsd10:~/src/emacs-25 % gmake -C test/automated file-notify-tests SELECTOR='\"09\"'
> [...]
> 
> root@freebsd10:~ # lsof -p 11075 | grep file-notify-test | wc -l
>    10000
> --8<---------------cut here---------------end--------------->8---
> 
> 
> Obviously, Emacs keeps an open file descriptor per watched file, as expected.

Obviously.  But the question was why loading a desktop file hangs in
that situation.  I don't think your testing answers that question, or
did I miss something?

Thanks.