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

Add errorhandling for ulimit #943

Merged
merged 2 commits into from
Feb 20, 2024

Conversation

glemsom
Copy link
Contributor

@glemsom glemsom commented Nov 8, 2023

In case the container is not spawned with SYS_RESOURCE, setting unlimited size for coredumps will never work.
Since the defaults in the script is to abort on any uncaught errors - I propose we catch the ulimit error, and notify the user about the possible missing capability.

This fixes issues like zalando/postgres-operator#2387

@hughcapet
Copy link
Member

I would abstain from adding any specific configuration suggestions to the logging here but let's add the error handling anyway. Thanks.

@idanovinda
Copy link
Member

👍

1 similar comment
@hughcapet
Copy link
Member

👍

@hughcapet hughcapet merged commit 5b12027 into zalando:master Feb 20, 2024
3 checks passed
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.

4 participants