[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 16bb108: Add a regression test for Bug#24325.
From: |
Philipp Stephani |
Subject: |
Re: master 16bb108: Add a regression test for Bug#24325. |
Date: |
Tue, 29 Dec 2020 19:10:55 +0100 |
Am Di., 29. Dez. 2020 um 18:56 Uhr schrieb Michael Albinus
<michael.albinus@gmx.de>:
>
> p.stephani2@gmail.com (Philipp Stephani) writes:
>
> Hi Philipp,
>
> > +(ert-deftest process-tests/fd-setsize-no-crash ()
> > + "Check that Emacs doesn't crash when trying to use more than
> > +FD_SETSIZE file descriptors (Bug#24325)."
> > + (let ((sleep (executable-find "sleep"))
> > + ;; FD_SETSIZE is typically 1024 on Unix-like systems.
> > + (fd-setsize 1024)
>
> This could be determined by "ulimit -n" or "getconf OPEN_MAX".
>
That's a different limit (resource limit vs. size of a file descriptor set).