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
TestClient_IteratorSessions doesnt work on Mac and occasionally on Windows #3300
Comments
got similar to #2977 (comment) on windows Run tests (windows-2022, 1.21)
|
After increasing the soft limit for open file descriptors to 1048576 ( |
Can we have some fd leak? The default limits is somewhere around 1024, it should be sufficient for our tests. |
The HTTP server should be closed at the end of the test to prevent fd leak. Close #3300 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
The HTTP server should be closed at the end of the test to prevent fd leak. Refs #3300 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
The HTTP server should be closed at the end of the test to prevent fd leak. Refs #3300 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
Default DefaultMaxIdleConnsPerHost = 2 (only 2 connections allowed at a time by default), it might be forced to abruptly close incoming connections (connection reset by peer error) to cope with the overload, and also leads to resource exhaustion. Close #3300 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
Default DefaultMaxIdleConnsPerHost = 2 (only 2 connections allowed at a time by default), it might be forced to abruptly close incoming connections (connection reset by peer error) to cope with the overload, and also leads to resource exhaustion. Close #3300 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
Default DefaultMaxIdleConnsPerHost = 2 (only 2 connections allowed at a time by default), it might be forced to abruptly close incoming connections (connection reset by peer error) to cope with the overload, and also leads to resource exhaustion. Close #3300 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
Looks a lot like golang/go#20960. Side note: notice that we don't ever call |
The default for `MaxConnsPerHost` is "no limit", so it'll use as many connections as it can (potentially hitting MacOS/Windows limits golang/go#20960 (comment) ). Close #3300 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
The default for `MaxConnsPerHost` is "no limit", so it'll use as many connections as it can (potentially hitting MacOS/Windows limits golang/go#20960 (comment) ). Close #3300 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
I'm running TestClient_IteratorSessions on Macbook M1 (locally) and getting errors with network.
Current Behavior
The text was updated successfully, but these errors were encountered: