-
Notifications
You must be signed in to change notification settings - Fork 38
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
Lots of file descriptors open while testing installed tools #166
Comments
Hi @HugoJH, I checked out the code and I cannot find the open statement that causes this.
|
@almahmoud, you've experienced this behavior as well, right? |
Yes! The problem seems to be in tool-util I think, cause it came up when running the tool tests directly not just with ephemeris. A temporary workaround was setting |
Are these files or sockets that are open ? Can you also check what version of galaxy-tool-util you've got in your environment ? ( |
The last time I tried it was installed from source from https://github.com/galaxyproject/galaxy/pull/10767/files. And as far as I can tell, it's at least files, not sure if sockets as well: Small snippet of
|
Alright, I've traced this too, and galaxyproject/galaxy#10852 prevents accumulating those in a small test. |
While doing
shed-tools test
over my galaxy instance, had a problems of reaching the limit of maximum number of open files.For the sake of keep running the test, I modified the limit editing /etc/security/limits. Relaunched the
shed-tools test
command and waited enough time to check the number of open files at that point.I did
lsof | grep shed-tool | grep -v deleted| wc
and found out that there where more than 3000 opened files by the shed-tools process. Seems like the files opened for each test are not gettting closed once the test finishes. There should be a mechanism to close all unnecesary file descriptors once the test finishes.The text was updated successfully, but these errors were encountered: