-
Notifications
You must be signed in to change notification settings - Fork 36
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
@smithy/node-http-handler:WARN socket usage at capacity and additional requests are enqueued #89
Comments
Hmm. This appears to be something we do have control over. It looks like it's a NodeJs thing and the AWS SDK has a way to override the socket count. This is probably slowing down S3P... https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html |
Yup, that's it. The default max appears to be 50, and you get the message right after you hit 50 list-workers:
So, for now, you can probably avoid that warning by using this option: |
I should be able to set the AWS client's max-sockets to match the --list-concurrency setting. Something for the future. |
Hello @shanebdavis , We are having the same error and we've tried evern with --list-concurrency setting and it's the same issue as explained above.
|
I very recently started using s3p latest (3.5.x), and I'm regularly seeing the message "@smithy/node-http-handler:WARN socket usage at capacity and additional requests are enqueued". That output seems unexpected.
The warning appears to be pretty harmless, but it's annoying to see the s3p output polluted. Would be great if something could be done to suppress it. From https://github.com/smithy-lang/smithy-typescript/blob/3b3774052b1985a680c3db7c244c59d03357b73c/packages/node-http-handler/src/node-http-handler.ts#L71 :
Caused by smithy-lang/smithy-typescript#1164. This feature appears to have been added quite recently.
The text was updated successfully, but these errors were encountered: