-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
S3 crt client HeadObject call freezes. #3098
Comments
Thanks for taking the time to look for older similar issues, but it's hard to tell if your situation is similar to the 10 year old js-v1 issue. I don't have any timeline for when timeout configurations might be supported by the CRT client. I would recommend that you 👍 the feature request, because that helps us when prioritizing new feature requests. We can also look more into why you are seeing the HeadObject call freeze if you give us more info:
|
Hello, |
What version of Curl are you building against and can you try building against newer curl. Note: for s3 crt client, crt is only used in the put/get apis, all the other apis still go through the regular curl based implementation (and timeout settings will apply to those as usual) |
|
curl 7.29.0 is over a decade old at this point. i would not be surprised if it has some issues with mva dns. |
Greetings! It looks like this issue hasn’t been active in longer than a week. We encourage you to check if this is still an issue in the latest release. Because it has been longer than a week since the last update on this, and in the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or add an upvote to prevent automatic closure, or if the issue is already closed, please feel free to open a new one. |
Hi @DmitriyMusatkin we are using centos7 for which curl 7.29.0 is the latest version in centos7. |
Im not sure there is an easy fix for this. From the logs it looks like curl acquires connection from a pool, realizes that it has been closed (because it probably hit idle timeout on s3 side), tries to acquire a new connection and then stops after dns resolution. We haven't observed this behavior with newer versions of curl and we don't automatically test versions of curl that old. |
Describe the bug
We are running a service where we read data from s3 parallelly(multithreading), one day we saw all the threads are still running as head response from S3 freezes with no response ever returned(All new threads are also in struck state leading to accumulation of lot of threads). However this issue is fixed once we restarted the service.
Unfortunately, we have not been able to reproduce this issue since. While investigating, we found a similar issue in the AWS SDK for JavaScript here. Could you please confirm if this is indeed a similar issue? The suggested solution in that case was to configure an HTTP timeout.
We considered doing the same, but we discovered that the S3 CRT client does not honor timeout configurations, as mentioned in this issue. Could you provide information on when the AWS S3 CRT client will support timeout configurations? This support is crucial to ensure that we do not encounter S3 API call freezes in the future.
Expected Behavior
HeadObject call shouldnot freeze
Current Behavior
HeadObject call freezes.
Reproduction Steps
Unable to reproduce, but its better to configure HTTP timeout
Possible Solution
No response
Additional Information/Context
No response
AWS CPP SDK version used
1.11.269
Compiler and Version used
gcc (GCC) 4.8.5
Operating System and version
CentOS Linux and version 7
The text was updated successfully, but these errors were encountered: