-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Labels
Description
I have an environment with 500+ virtual NICs, and core dumps occur when I run lldpad on it.
When the function eloop_sock_table_dispatch calls FD_ISSET, the value of file descriptor table->table[i].sock exceeds 1024 (the kernel fds structure has only 1024 bits). As a result, the glibc determines that a buffer overflow occurs and aborts the process.
Have you ever had this problem? Other than recompiling the kernel and glibc magnifying the size of fds, is there any other way around this problem?
Change select to poll may solve this problem. Do you have any plans to change it?