On 26 Oct 2023, at 09:08, Benjamin Coddington wrote: > This is addressed by several users of rpc_dtablesize() already, which all= > seem to do: > > setsize = _rpc_dtablesize(); > if (setsize > FD_SETSIZE) > setsize = FD_SETSIZE; > > Does it make sense to try to fix it for everyone, and should we clean up the users? I apologize for not realizing that some users have addressed this issue beforehand. Nonetheless, I think it is necessary to modify the _rpc_dtablesize() function. I suggest modifying the _rpc_dtablesize() function. if (size == 0) { size = sysconf(_SC_OPEN_MAX); if (size > FD_SETSIZE) size = FD_SETSIZE; } In the meantime we need to clean up the existing user code.