-
Notifications
You must be signed in to change notification settings - Fork 541
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
[coredump] Add sizelimit for coredump #3810
base: main
Are you sure you want to change the base?
[coredump] Add sizelimit for coredump #3810
Conversation
While most coredumps could be relatively small, in certain environments, like Ceph, these can be as big as 5GB. This change adds a limit of 100MB to the latest core collection. Related: RHEL-62972 Signed-off-by: Jose Castillo <[email protected]>
Congratulations! One of the builds has completed. 🍾 You can install the built RPMs by following these steps:
Please note that the RPMs should be used only in a testing environment. |
This would mean we grab 100MB of incomplete / usefulness data for coredumps >100MB. Not great though no idea how to simply prevent that. |
OK, I thought it was "grab the file only if max is 100MB". I'll add a check then, because incomplete core dumps are useless |
@pmoravec some options: |
That's for binary files. This is a command capture.
We would need to hold the entire command output in memory to determine its size, which is not desirable here. Any |
I see there's a lot we can do with the info output, and generally spruce up the collections at large. I'll throw something together and get something posted on my lunch. |
While most coredumps could be relatively small,
in certain environments, like Ceph, these can be
as big as 5GB. This change adds a limit of 100MB
to the latest core collection.
Related: RHEL-62972
Please place an 'X' inside each '[]' to confirm you adhere to our Contributor Guidelines