-
Notifications
You must be signed in to change notification settings - Fork 46
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
Option to change CoreDump directory / disable CoreDump globally #107
Comments
You are correct - currently there is no way to disable coredumps via a rosmon option or to change the directory. I can suggest two workarounds for your case:
A PR for a global option would be welcome (both for disabling entirely and changing the location)! I would also suggest supporting an environment variable (maybe |
As a workaround, I would suggest to install systemd-coredump. It will grab and store all coredumps so
But I can find it with:
And then the max size used by coredumps can be chosen by the |
@romainreignier Interesting, I wasn't aware of I guess the proper thing would be to integrate support for |
Indeed, it would be nice :) |
The integration with #125 also changes the default behavior (without I'll close this issue - if either of you have additional remarks, feel free to reopen. |
My device has limited storage on the boot disk (it is an embedded ARM device).
The rosmon coredumps to tmp ("/tmp/rosmon-node-XXXXXX") are well over 1GB in my case, and have just filled my boot drive.
I've found that the "enable-coredumps" attribute is available for each node. However, there is no global parameter to disable all coredumps, or change the dump directory (e.g. to a larger external disk).
It may be worthwhile having such global parameters. I could create PR if suitable.
The text was updated successfully, but these errors were encountered: