Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to read netlink notifications #484

Open
mdivyamohan opened this issue Apr 26, 2021 · 0 comments
Open

Failure to read netlink notifications #484

mdivyamohan opened this issue Apr 26, 2021 · 0 comments

Comments

@mdivyamohan
Copy link

Hi,

I am occasionally seeing below error message. This happens either when I'm restarting all containers (swss, syncd, teamd) or when multiple vlans (around 500 to 1000 vlans) are being configured.

err teamsyncd: :- readData: netlink reports out of memory on reading a netlink socket. High possibility of a lost message

The swss common library currently sets netlink socket read buffer size as 3 MB. Code is here.

/* Set socket buffer size to 3MB */
nl_socket_set_buffer_size(m_socket, 3145728, 0);

I tried increasing this to 16 MB, but did not help.
Strangely, portsyncd also uses same swss common library and I'm not seeing any issues there.

Any pointers on what could be causing this, or how this can be handled?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant