question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Intermittent BUFFER_SHORTAGE errors

See original GitHub issue

I 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:closed
  • Created 7 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
jvsteinercommented, Oct 4, 2020

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.

0reactions
LoganDarkcommented, Jun 26, 2018

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found