Zhaoming Luo, le lun. 03 mars 2025 19:35:37 +0800, a ecrit: > Test 537 on Hurd opens 0x40000 file discriptors and close them[0].
The code is really odd. if(nitems > 0x7fff) nitems = 0x40000; I would have rather understood if(nitems > 0x7fff) nitems = 0x8000; which will happen to pass the reference counter limitation. > The initial max number of file discriptor on Hurd is 1024[1]. Test 537 > raises this number to unlimited so it won't be terminated[2]. We could also set NOFILE's rlim_max to 65535 in hurd/hurdrlimit.c. Samuel