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

Enable core-dumps on HAProxy crashes #430

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

maxmoehl
Copy link
Member

No description provided.

This commit sets the limit for core-dump files to unlimited before
starting HAProxy. This allows HAProxy to produce a core-dump file on
crashes.

See: https://man.archlinux.org/man/bash.1.en#ulimit
@maxmoehl
Copy link
Member Author

Currently blocked because the bpm container prevents us from updating the limits for processes in the container. The bpm configuration does not support changing the core-dump limit natively as described in the documentation.

Currently HAProxy fails to start because the wrapper script fails with:

sudo: The "no new privileges" flag is set, which prevents sudo from running as root.
sudo: If sudo is running in a container, you may need to adjust the container configuration to disable the flag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

None yet

1 participant