Hi,

On 31.01.24 11:08, Waldemar Brodkorb wrote:
do you have a small C test case which might show the failure?

I unfortunately currently don't have a proper setup to test this, but I would expect that this simple loop would deplete all available file descriptors so that at some point, one can't call "open" anymore:

#include <stdlib.h>

do {
  puts("Still fds available\n");
} while(!strcmp(mktemp("test"),""))

if(open("somefile.txt") < 0) {
  puts("fds are depleted. This should not have happened.\n");
}

Best regards,
Marius

--
Marius Melzer, marius.mel...@kernkonzept.com

Kernkonzept GmbH, Dresden, Germany, HRB 31129, CEO Dr.-Ing. Michael Hohmuth
_______________________________________________
devel mailing list -- devel@uclibc-ng.org
To unsubscribe send an email to devel-le...@uclibc-ng.org

Reply via email to