[BUG]
Resolved 💬 1 comment Opened Jul 14, 2025 by GratefulDave Closed Sep 2, 2025
Environment
- Platform (select one):
- [ x] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [X] Other: Node.js application
- Node.js version: v22.13.0
- Operating System: Sequoia 15.5.5
- Terminal: iTerm2
- Claude Version: 1.0.51
Bug Description
The application crashes with an ENOBUFS (Error: write ENOBUFS) error when attempting to write to a stream. This error occurs when the operating system's buffer space is exhausted, typically due to high-volume data writing operations.
Steps to Reproduce
- Create a Node.js application that writes large amounts of data to a stream (file, network, etc.)
- Run the application with insufficient system buffer space
- The application crashes with the ENOBUFS error
Expected Behavior
The application should either:
- Handle the buffer space limitation gracefully by implementing backpressure
- Provide a meaningful error message about system resource limitations
- Retry the operation when buffer space becomes available
Actual Behavior
The application throws an unhandled 'error' event with ENOBUFS error, causing the process to crash:
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗