-
Notifications
You must be signed in to change notification settings - Fork 58
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
Timeout issue #13
Comments
keepAliveMsecs:100 meaning a free socket not active for 100ms it will close. |
Yes, unless there is activity on it so it doesn't time out. So only 4 sockets timed out, and if they needed to be recreated, a maxim of 9 sockets should have been created in total, or anywhere between 5 and 9 if some of those 4 timed out sockets expired and the end of the test and had nothing left in queue. So why 18 ? |
can you show me the |
I don't have such values in the result. I use version 0.2.3. |
also i get an error like this |
and for HTTPS connections, it uses the certificate files as keys in the getName function. The application i use this in, has one 50KB certificate file with all the certificates. The log increased to 1.5 GB in less than a minute. Why in the world you would use the content of the certificates and keys as the key to the map ? |
can you show me your demo codes, node version and agentkeepalive version, I want to repeat what your meaning. |
I too would like to run this library through some perf tests. I know this thread is a little stale, but @fengmk2 can you post the scripts, versions, etc you used for testing? |
Hi,
I have some issues with this library and the number of connections it creates. I don't know exactly if the library is the problem or my configs but I was doing a simple test with
then do 100 requests with some small random time intervals between them. The result i get is something like this and doesn't seem to add up
If only 4 sockets timed out why did it create 18 ? Shouldn't have been 9 there ? The initial 5 sockets and the additional 4 that were replaced because they timed out. Btw, the numbers vary on every run. What am I missing here ?
The text was updated successfully, but these errors were encountered: