kanela icon indicating copy to clipboard operation
kanela copied to clipboard

/tmp full, would be nice to clean jar files in tmp after use (and empty tmp directories)

Open gbrd opened this issue 3 years ago • 2 comments

Depending cleaning strategy of the os, /tmp can become full because of kanela jar files (/tmp/kanela-agent-1.0.9.*.jar) Could this file be deleted after use ? (is it downloaded each time or extracted ?) It would be nice !

(I have a lot of /tmp/tmpXXX empty directory too ..)

gbrd avatar Jun 07 '21 15:06 gbrd

Hey @gbrd, may I ask what Operating System and Java versions are you using? I'm running Kamon apps with the bundle all the time locally and never see those files in /tmp.

I opened this tiny PR to (hopefully) address the issue: https://github.com/kamon-io/Kamon/pull/1036

ivantopo avatar Jun 07 '21 15:06 ivantopo

Hi @ivantopo and thanks for your reactivity ! We use openjdk 11 We saw the problem on centos-7.
And on my laptop on ubuntu, each time my application starts I have one more kanela-agent-1.0.9.jarXXX.jar in /tmp/ Should I do something specific to exit more cleanly kamon/kanela ?

gbrd avatar Jun 07 '21 16:06 gbrd