Skip to content

fix(sail): run scheduler and queue under init to reap orphans - #190

Merged
n8bar merged 1 commit into
mainfrom
claude/scheduler-init
Sep 25, 2026
Merged

n8bar merged 1 commit into
mainfrom
claude/scheduler-init

Conversation

@n8bar

@n8bar n8bar commented Sep 25, 2026

Copy link
Copy Markdown
Owner

Local Sail's scheduler ran schedule:work as the container's PID 1. Orphaned background jobs were reparented to PHP and never reaped: 26,277 zombies after 18 days, slowing the host.

Adds init: true to the scheduler and queue services in compose.yaml, matching production and alpha.

🤖 Generated with Claude Code

https://claude.ai/code/session_013fXZ2XkvDyLozgewTChWkc

schedule:work ran as the container's PID 1, so orphaned background
jobs were reparented to PHP and never reaped (26k zombies after 18
days). Matches init: true already set in production and alpha compose.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013fXZ2XkvDyLozgewTChWkc
@n8bar
n8bar merged commit 2ccb452 into main Sep 25, 2026
1 check passed
@n8bar
n8bar deleted the claude/scheduler-init branch September 25, 2026 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant