Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OOM due to healthcheck #439

Closed
withinboredom opened this issue Dec 24, 2023 · 1 comment
Closed

OOM due to healthcheck #439

withinboredom opened this issue Dec 24, 2023 · 1 comment

Comments

@withinboredom
Copy link
Collaborator

This is related to #366

When containers are running at 99-100% of allocated memory, OOM killer comes along and kills frankenphp when the Dockerfile healthcheck runs:

HEALTHCHECK CMD curl -f http://localhost:2019/metrics || exit 1

The curl command only consumes a few MB of memory, but when frankenPHP already uses nearly all available memory, this is often enough to trigger the OOM killer.

We should either remove the healthcheck or provide instructions on how to disable the healthcheck in memory-constrained scenarios.

@withinboredom
Copy link
Collaborator Author

Fixed by #442

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

No branches or pull requests

1 participant