[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

  1. Create a Node.js application that writes large amounts of data to a stream (file, network, etc.)
  2. Run the application with insufficient system buffer space
  3. The application crashes with the ENOBUFS error

Expected Behavior

The application should either:

  1. Handle the buffer space limitation gracefully by implementing backpressure
  2. Provide a meaningful error message about system resource limitations
  3. 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:

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗