I’m a big fan of
select() functionality in Linux. Today we see some problems in our software. We’re using a lot of file descriptors in a thread which returned from
timerfd_create() function. Sometimes total number of timerfd file descriptors very close or above to 1024. When this happens, we can’t use select() properly on other threads.
I know that maximum number of file descriptors limit which can be listen simultanously is 1024 for select() call. But it is not clear that is there a limit on file descriptor number too? For example can I use select() for two file descriptor, 1025 and 1026?