mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 23:15:49 +03:00
[GH-ISSUE #1239] HARAKIRI Timeout Causing 5xx Errors in Healthchecks #836
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#836
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cw-sarvesh on GitHub (Dec 5, 2025).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/1239
Summary
Healthchecks application is experiencing HARAKIRI timeout events that result in 5xx HTTP errors, particularly affecting the
/ping/endpoint. The uWSGI workers are being killed when requests exceed the timeout threshold, causing intermittent service disruptions.Environment
docker.io/healthchecks/healthchecks:latestProblem Description
The application experiences HARAKIRI timeout events approximately every hour, where uWSGI workers are killed due to requests exceeding the configured timeout threshold. This results in:
/ping/endpointObserved Behavior
HARAKIRI Timeout Event
Logs:
Worker Respawn:
Performance Metrics
/ping/requests show latencies up to 1899msRoot Cause Analysis
HARAKIRI is a uWSGI feature that kills workers when requests take longer than the configured timeout. The observed behavior suggests:
harakiritimeout is likely set too low for certain operations/ping/endpoint may be performing operations (database queries, external API calls, etc.) that occasionally exceed the timeoutExpected Behavior
/ping/requests should complete successfully without triggering HARAKIRI timeoutsSteps to Reproduce
Labels:
bug,performance,uwsgi,timeout,5xx-errors@cuu508 commented on GitHub (Dec 5, 2025):
AI slop