-
Notifications
You must be signed in to change notification settings - Fork 15
"hostname" program is called every time the config is read #31
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
Comments
Hi @raskig, thanks for the report. I don't think this is an issue with Nomad - it doesn't hold any open files after the call to James |
Hi @jarohen, This is the exception we face after a while:
I was able to reproduce the problem by using a load test. By applying a quick fix (wrapping the (config) call in a (memoize config) ) it fixes the problem, but of course we loose the ability to change the config on the fly. Hope this all makes sense. |
We are using Nomad for retrieving config every time an endpoint is called of a web service. As we see from the logs, every time the config is read the "hostname" in shell is also called. This results in the following error after a while:
"java.io.IOException: Cannot run program "hostname": error=24, Too many open files"
Please confirm that this is a valid bug.
Thanks,
Gabor
The text was updated successfully, but these errors were encountered: