SShortSingh.
Back to feed

Claude Code left 10 CPU-spinning zombie processes running for nearly two days

0
·1 views

A software developer discovered that a Claude Code AI session had left behind ten orphaned shell processes silently consuming over 700% CPU on his 10-core laptop for nearly two days. The processes were remnants of a deliberate load-testing script that had been designed to saturate all CPU cores while running an integration test suite. Once the test finished, the cleanup step never executed, leaving the busy-loop spinners reparented to PID 1 and running indefinitely. The developer identified them by checking load averages and inspecting full process argument lists, which revealed elapsed runtimes of almost 48 hours. The incident highlights two failure points: orphaned background jobs that survive their parent session, and AI-generated scripts that may not reliably clean up after themselves.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Developer Builds Python-Based AI Agent Control Plane, Then Questions If It Was Needed

A backend developer with 18 years of experience built Docket, an open-source Python tool designed to orchestrate multiple AI agents across different projects under a single budget and policy. The tool replaced an earlier Bash prototype and uses a pod-based model with distinct agent roles — Lead, Implementer, Reviewer, and Tester — each isolated per project with hard spending caps and approval gates. Unlike first-party tools such as Claude Code or OpenAI Codex, Docket aims to support mixed-model fleets spanning multiple AI vendors. The developer openly questions whether a full control plane was necessary for a solo operator, or whether the build was primarily a learning exercise. Docket is currently available on GitHub in beta, built with heavy AI assistance as a deliberate way to close personal skill gaps.

0
ProgrammingDEV Community ·

Developer's 30-Day Public Learning Challenge Ends at Day 22 — Here's Why

A developer launched a personal 30-day challenge to learn and share something new publicly every day, aiming to prove to themselves they could follow through on a commitment. The first two weeks went smoothly, covering topics like Linux, LLMs, and interview prep, with a self-designed four-part post format that made the effort feel personal. By the midpoint, the initial excitement had faded, and the challenge began competing with a growing list of other goals including portfolio work, interview prep, and building a presence on multiple platforms. The pressure to perform and prove worth gradually replaced the original spirit of curiosity and learning. Without a single dramatic setback, the series quietly ended on Day 22 when daily postponements made stopping easier than continuing.

0
ProgrammingDEV Community ·

Why C++ Remains the Go-To Language for Audio Plugin Development

A developer with a background in music production explores why C++ dominates audio software development, having transitioned from JavaScript. The core challenge in audio processing is a strict real-time deadline — at 44.1kHz, each 128-sample audio block must be processed in roughly 3 milliseconds or audible glitches result. Languages like JavaScript use garbage collectors that can pause execution unpredictably, making them unsuitable for this constraint, while C++ gives programmers direct, deterministic control over memory. The JUCE framework, widely used for building audio plugins, reflects this by separating memory allocation into a setup phase before playback begins and keeping the live audio processing loop free of any allocations. This architecture, enabled by C++'s design, is why the language appears throughout professional DAWs and plugins.

0
ProgrammingHacker News ·

SPCX Becomes Most Shorted New Stock on Wall Street After High-Profile IPO

SPCX, which debuted as one of the most valuable IPOs, has quickly become the most shorted new stock on Wall Street. Short sellers have taken significant positions against the company following its public listing. The rapid shift from a celebrated IPO to a heavily shorted stock signals skepticism among institutional investors about its valuation. This development highlights growing concerns on Wall Street about the sustainability of the company's market price post-IPO.