core-dump-handler icon indicating copy to clipboard operation
core-dump-handler copied to clipboard

Core dump files housekeeping

Open laurentiusoica opened this issue 2 years ago • 2 comments

Hi All,

When handling core dumps with core-dump-handler, what is the recommended mechanism to cleanup collected core files from worker nodes?

laurentiusoica avatar May 19 '23 11:05 laurentiusoica

Hey @laurentiusoica The core file is piped directly into the zip file https://github.com/IBM/core-dump-handler/blob/main/core-dump-composer/src/main.rs#L171

and the zip is removed by the agent after a successful upload to the Object Store https://github.com/IBM/core-dump-handler/blob/main/core-dump-agent/src/main.rs#L341

There should be no need to "clean up" on the server.

No9 avatar May 19 '23 11:05 No9

Thanks!

laurentiusoica avatar May 19 '23 11:05 laurentiusoica