Intermittent BUFFER_SHORTAGE errors
See original GitHub issueI have no idea what triggers this error, but every so often, when decoding (apparently large) msgpack data, the BUFFER_SHORTAGE
error gets thrown.
Why does this happen? Is this a bug?
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Intermittent fault - Wikipedia
Intermittent faults are not easily repeatable because of their complicated behavioral patterns. These are also sometimes referred to as “soft” failures, since ...
Read more >Troubleshooting Serial Lines - Cisco Systems
Adjusting Buffers. Excessively high bandwidth utilization greater than 70 percent results in reduced overall performance and can cause intermittent failures.
Read more >How to configure dynamic buffers for VDX6740 to address ...
... introduced to the VDX6740 platform to address the buffer shortage issue. ... intermittent packet losses, intermittent ping drops, etc.
Read more >Troubleshooting - TechDocs - Broadcom Inc.
A question concerning product performance or an intermittent low-impact condition that is associated with the product.
Read more >MSGHASP050 JES2 RESOURCE SHORTAGE CODE= LBUF ...
THE LOGIC OF THE CALCULATIONS IS NOT IN ERROR: THE NUMBER OF BUFFERS FREE SHOULD NEVER EXCEED ... GOES AWAY SOMETIMES, AND APPEARS...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I ended up here trying to debug what ended up being an encoding problem. My one suggestion is that “BUFFER_SHORTAGE” is perhaps not a very good error message. I would recommend something like “BUFFER_TOO_SHORT” instead, since “BUFFER_SHORTAGE” make it sound like something is having trouble allocating a buffer, due to memory constraints, or something. You don’t have a shortage of buffers in this case - you have a buffer that is too short.
Yeah, this isn’t an issue with
msgpack-lite
.msgpack-lite
is doing what it’s supposed to - failing when you give it bad data instead of giving you bad data back