sparkling-water icon indicating copy to clipboard operation
sparkling-water copied to clipboard

libxgboost.so getting filled in /tmp

Open kalaiselvan263 opened this issue 1 year ago • 8 comments

Support

https://support.h2o.ai/a/tickets/107089

We need to figure out the way to change the tmp path for ligxgboost.so

https://discuss.xgboost.ai/t/native-libraries-dll-so-dylib-not-removed-from-temp-folder/3013

kalaiselvan263 avatar Jan 29 '24 03:01 kalaiselvan263

The temp folder can be changed with -Djava.io.tmpdir

java -Djava.io.tmpdir=newtemp h2o.jar

Temp is cleared after the h2o is closed.

valenad1 avatar Feb 28 '24 15:02 valenad1

I think the problem is if h2o cluster is not shutting down normally ( for example, crashed) , this file won't be cleared.

FengAtH2O avatar Feb 28 '24 15:02 FengAtH2O

Could be the reason, I cannot simulate it on my local though. The tmp is cleared when I kill the java.. the different tmp could be the solution to these cases.

valenad1 avatar Feb 28 '24 16:02 valenad1

@valenad1 We have tried to change the tmp location, however it is not picking up the different tmp folder.

kalaiselvan263 avatar Mar 04 '24 05:03 kalaiselvan263

Customer is using 3.40.0.1 SW version

kalaiselvan263 avatar Mar 18 '24 16:03 kalaiselvan263

@krasinski Can you check how to redirect tmp folder for SW?

valenad1 avatar Apr 09 '24 10:04 valenad1

@valenad1 Can you please confirm if the files can be cleaned periodically.

kalaiselvan263 avatar May 08 '24 14:05 kalaiselvan263

Server can run script and clean periodically the tmp folder if it is what you mean. We don't have anything like that built-in. But @krasinski is more experienced with SW.

valenad1 avatar May 09 '24 13:05 valenad1