[quagga]: Increase netlink receive buffer for zebra#4228
Merged
lguohan merged 1 commit intosonic-net:201811from Mar 6, 2020
Merged
[quagga]: Increase netlink receive buffer for zebra#4228lguohan merged 1 commit intosonic-net:201811from
lguohan merged 1 commit intosonic-net:201811from
Conversation
Otherwise we see following messages from zebra sometimes zebra[60]: netlink-listen recvmsg overrun: No buffer space available
prsunny
reviewed
Mar 5, 2020
Collaborator
|
201911 branch is using frr, you need to generate a new pr. |
prsunny
approved these changes
Mar 5, 2020
yxieca
approved these changes
Mar 5, 2020
jleveque
approved these changes
Mar 5, 2020
Contributor
|
@pavel-shirshov: Can you briefly explain how you settled on this size? |
Contributor
|
@jleveque expand Prince's discussion :-) Basically Pavel set it to max value sysctrl allows. |
Contributor
Author
|
@jleveque By default all sockets are created with default receive buffer equal to 212992 Probably we should increase default receive buffer for higher values. |
mssonicbld
added a commit
that referenced
this pull request
Feb 27, 2026
…lly (#25635) #### Why I did it src/sonic-swss ``` * b2c4e649 - (HEAD -> 202511, origin/202511) [202511][ssw][ha] vnetorch support primary/secondary live update for custom bfd (#4228) (6 hours ago) [Jing Zhang] * d317c8f9 - [countersyncd]: Fix cargo bench compiling error (#4263) (17 hours ago) [mssonicbld] * 725d6660 - [HFT]: keep STATE_DB session stream_status in sync with profile stream_state (#4190) (22 hours ago) [mssonicbld] * fa01e8d2 - [countersyncd]: Modify the exit behavior of the main function (#4225) (27 hours ago) [mssonicbld] * 82243e7f - [macsecmgr]: Fix MACsec unconfigure failures due to time out (#4233) (2 days ago) [mssonicbld] * 8d476206 - [ci] Install redis from Debian (#4251) (3 days ago) [mssonicbld] * 0c11b096 - [Bug] This patch is to fix a major bug in the for loop of the (#4173) (3 days ago) [ashishalok-arista] ``` #### How I did it #### How to verify it #### Description for the changelog
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Otherwise we see following messages from zebra sometimes
zebra[60]: netlink-listen recvmsg overrun: No buffer space available
- What I did
Increased netlink socket receive buffer size for zebra. Otherwise we receive following messages sometimes:
zebra[60]: netlink-listen recvmsg overrun: No buffer space available- How I did it
Used -s command line parameter of zebra
- How to verify it
Build an image and run it. Currently I didn't find how we can check receive buffer size from the command line. I'll update the pr if I find the way.
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)