-
Notifications
You must be signed in to change notification settings - Fork 12
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
Ensure HTTP requests are explicitly closed (fixes #340 and fixes #342) #341
Conversation
@pdreiter Do you mind seeing whether this fixes the "Too many open files" bug for you? |
sorry for the delay - i'm getting the following error:
Btw, I tested this by cloning the bugzoo repository, checking out the |
However, I added
With this minor set of changes on top of the I double-checked my ports/associations via I reverted the bugzoo changes and I seem to be getting the same issue, so there's something else wrong on my end - will update when I figure this out. |
It looks like the port checking code isn't working correctly.
|
This is so weird:
It looks like the server is being launched before the call to |
Yeah, that's what I'm thinking too - although I don't know where it's opened? and I launched |
It looks like |
@pdreiter This should be good to test now. |
we have a single ..about to test my |
Bad news : looks like still getting "Too many open files"
|
If you're running multiple Darjeeling instances, it may simply be that you need to increase your file limit: What is your file limit right now? |
well, right now, I'm running just a single Darjeeling instance.
|
I would expect that to be good enough for a single instance, although increasing that wouldn't hurt. How many threads are you using? Also, I'm not quite sure how you're getting multiple connection errors. Would you mind attaching your logs? |
I'm using 16 threads - I prepended my yml file to the beginning of the gzip file I've attached so you can look at anything else that could be impacting it. *I just launched a version of the yml file with *edit 1:
|
Follow-up: I think that the docker api might be missing this fix from this pull-request: |
So, I'm going to go ahead and merge this PR. From inspecting the log, it looks like A potential solution, albeit one that I hate to make, is that you or I fork |
Sounds good to me. I launched the darjeeling with the
yikes! |
No description provided.