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

Mass ARP causes snmpd shows "ERR snmpd[34]: Error allocating more space for arpcache. Cache will continue to be limited to 4096 entries" #1874

Closed
jeromesun14 opened this issue Jul 25, 2018 · 3 comments
Labels

Comments

@jeromesun14
Copy link
Contributor

jeromesun14 commented Jul 25, 2018

Description

Mass ARP causes snmpd shows "ERR snmpd[34]: Error allocating more space for arpcache. Cache will continue to be limited to 4096 entries"

Steps to reproduce the issue:

Not reproduce everytime due to realloc mechanism.

  1. Configure your system to support 4K+ ARP
  2. Configure a L3 interface
  3. Send 4K+ ARP to that L3 interface.

It's a known bug net-snmp bug 2678. And net-snmp has fix it (link).

Describe the results you received:

Get syslog ERR snmpd[34]: Error allocating more space for arpcache. Cache will continue to be limited to 4096 entries"

Describe the results you expected:

Do not show such error.

Additional information you deem important (e.g. issue happens only occasionally):

@lguohan
Copy link
Collaborator

lguohan commented Aug 12, 2018

@sunnogo , thanks for reporting. It looks like there is a fix. would you be able to incorporate the patch in snmpd build? https://github.com/Azure/sonic-buildimage/tree/master/src/snmpd

@lguohan
Copy link
Collaborator

lguohan commented Aug 13, 2018

@sunnogo , are you talk about another thread?

@jeromesun14
Copy link
Contributor Author

@lguohan Yeah... Sorry, let me copy it to the right thread. And delete it.

jeromesun14 pushed a commit to jeromesun14/sonic-buildimage that referenced this issue Aug 27, 2018
… space for arpcache. Cache will continue to be limited to 4096 entries
lguohan pushed a commit that referenced this issue Sep 4, 2018
…r arpcache. Cache will continue to be limited to 4096 entries (#1989)
@lguohan lguohan closed this as completed Sep 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants