There is limitation in select system call that it will not work beyond 1024. This is what document says
WARNING: select() can monitor only file descriptors numbers that
are less than FD_SETSIZE (1024)—an unreasonably low limit for
many modern applications—and this limitation will not change.
All modern applications should instead use poll(2) or epoll(7),
which do not suffer this limitation.
we have experienced this behaviour only in AWS EC2 instance. Outside of AWS fd is always < 1024
Is there a setting in Linux system (Suse Linux 15 SP2) that will always create fds < 1024?