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

getLinuxLdPaths: process should be waited for #1169

Closed
rdesgroppes opened this issue Mar 10, 2020 · 2 comments
Closed

getLinuxLdPaths: process should be waited for #1169

rdesgroppes opened this issue Mar 10, 2020 · 2 comments

Comments

@rdesgroppes
Copy link

The process created in NativeLibrary.getLinuxLdPaths isn't waited for:

Process process = Runtime.getRuntime().exec("/sbin/ldconfig -p");

As a consequence, the JVM keeps a "process reaper" thread up. This happens to be more troublesome than it seems under constrained conditions (performances, resources).

@matthiasblaesing
Copy link
Member

@rdesgroppes the description sounds reasonable - it would be great if you could provide a PR that fixes the issue. Feel free to ask if you need help.

@matthiasblaesing
Copy link
Member

Fixed via 3e960b3

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

Successfully merging a pull request may close this issue.

2 participants