Skip to content
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

libxgboost.so getting filled in /tmp #5708

Open
kalaiselvan263 opened this issue Jan 29, 2024 · 8 comments
Open

libxgboost.so getting filled in /tmp #5708

kalaiselvan263 opened this issue Jan 29, 2024 · 8 comments
Assignees

Comments

@kalaiselvan263
Copy link

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

@valenad1
Copy link

valenad1 commented Feb 28, 2024

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.

@FengAtH2O
Copy link

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

@valenad1
Copy link

valenad1 commented Feb 28, 2024

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.

@kalaiselvan263
Copy link
Author

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

@kalaiselvan263
Copy link
Author

Customer is using 3.40.0.1 SW version

@valenad1 valenad1 assigned krasinski and unassigned valenad1 Apr 9, 2024
@valenad1
Copy link

valenad1 commented Apr 9, 2024

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

@kalaiselvan263
Copy link
Author

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

@valenad1
Copy link

valenad1 commented May 9, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants