
6 Feb
2024
6 Feb
'24
2:13 p.m.
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.melzer@kernkonzept.com Kernkonzept GmbH, Dresden, Germany, HRB 31129, CEO Dr.-Ing. Michael Hohmuth