MX80 JunOS 20.2R1-S2.1
after enabling snmp monitoring after some time in log:
set system syslog file totallog any anyset system syslog file totallog authorization noneset system syslog file totallog interactive-commands none
a message like this appears (in large count):
Dec 29 08:09:08 mib2d: rtslib: DEBUG Insufficient buffer. Growing the buffer and retryingDec 29 08:09:11 last message repeated 645 timesDec 29 08:09:15 last message repeated 752 timesDec 29 08:10:08 mib2d: rtslib: DEBUG Insufficient buffer. Growing the buffer and retryingDec 29 08:10:11 last message repeated 381 times
is the message an indicator of any problem? if not, how can you disable its output (except how "system syslog file totallog match" )?
p.s. after disabling snmp collector without disabling snmp on router this message disappears.
The messages are only informational, for internal debugging purpose. They are harmless and have no functionality effect.
There is a mechanism that re-sizes the buffer required for a message on the fly. If the rtsock client receives a message and it is too big for the current buffer, the auto-grow mechanism kicks in and increases the buffer a pre-determined size and tries again to fit the message in the newly-sized buffer.
More specifically, the pre-defined buffer size is smaller than the received message and this function is temporarily increasing the buffer to be able to hold the message until it is processed.
These being debugger level messages, they will occur if the Syslog is configured with any any for the messages, which I'm guessing is the case here.
To suppress these messages you can add
set system syslog file messages match "!(.*DEBUG Insufficient buffer.*)"
as shown with example in below kbhttps://kb.juniper.net/InfoCenter/index?page=content&id=KB9382
If my answer provides the solution, please mark my post as "Best Answer".
If you think my answer helps, please "Recommend" my post.