Skip to content

Navigation Menu

Sign in
Sign up

coredump in lldpad with 500+ NICs #118

Open

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    AltStyle によって変換されたページ (->オリジナル) /