Granulate/gprofiler

Disable coredump creation for binaries gProfiler runs

Jongy opened this issue · 0 comments

Jongy commented

Binaries we run may crash and create unwanted corefiles, which waste disk space. I saw this on one of our test deployments:

...
-rw-------   1 root root 11145216 Mar  5 09:52 core.rbspy.3654398.1678009124
-rw-------   1 root root 11145216 Mar  6 02:26 core.rbspy.3965157.1678069334
-rw-------   1 root root 11145216 Mar 12 22:35 core.rbspy.572769.1678660576
....

We should set RLIMIT such that binaries we execute do not emit a core file (and possibly make it an option enabled by default, so if you actually want to debug and understand why things crash, you can disable it and get the core files back).