Bun

Bun issue (Nov 28): Bun process.memoryUsage() Intermittently Throws SystemError on Alpine Linux

minor

Is it fixed? Not yet.

Ongoing since Nov 28, 14:29 UTC. First reported Nov 28, 14:29 UTC.

What happened

Bun 1.3.12 running on Alpine Linux in Docker intermittently throws a "SystemError: Failed to get memory usage" when calling process.memoryUsage(), which is triggered by @sentry/node under normal load. The issue occurs roughly once every few days in short-lived processes and cannot be reliably reproduced.

What caused it?

Under active investigation. No report has identified a root cause yet.

No verified workaround yet

None of the linked reports describe a mitigation. This page updates when one appears.

Official fix

Outage timeline

  1. Investigating(current)
  2. Workaround available(upcoming)
  3. Resolved(upcoming)
  1. First report on GitHub issue

    process.memoryUsage() intermittently throws "SystemError: Failed to get memory usage" on Linux (Alpine); reported errno is stale

    Source

Reports of this outage

1 report · 1 GitHubShow
  1. [1]
    GitHub First report
    process.memoryUsage() intermittently throws "SystemError: Failed to get memory usage" on Linux (Alpine); reported errno is stale(opens GitHub issue in a new tab)

    What version of Bun is running? 1.3.12 (oven/bun:1.3.12-alpine) What platform is your computer? Linux x64, Alpine 3.22.3, in Docker What steps can reproduce the bug? Intermittent; we can't trigger it reliably. It happens under normal load in short-lived (a few seconds) Bun processes in Docker on Linux, at a rate of roughly once every few days (12 occurrences since Nov 9). process.memoryUsage() is called by @sentry/node's nodeContextIntegration (process.memoryUsage().rss when a span ends),…

    by fjdvchain 0upvotes 3comments

Bun issue FAQ

What happened in the Bun issue, and why?

Ongoing since Nov 28, 14:29 UTC. No cause has been published yet; this page adds it once the vendor or a report explains it.

What is affected by the Bun issue?

Bun (versions: 1.3.12).

When did the Bun issue start and end?

It started Nov 28, 14:29 UTC and is still ongoing (15 h 46 min so far). This page updates as it develops.

How do I get alerts for Bun?

Subscribe to the Bun RSS feed for every new Bun incident, or connect an AI assistant to WhatBrokeToday over MCP and ask whether Bun is down. Bun feed

Where does this information come from?

WhatBrokeToday collects public status pages, developer community reports and security advisories, groups the ones about the same problem, and links every report under Evidence on this page. This one has 1 report from 1 independent source.