dask-cloudprovider: "Rate exceeded" error on FargateCluster
from dask_cloudprovider import FargateCluster
cluster = FargateCluster(n_workers=1, image='rsignell/pangeo-worker:2020-01-23c')
client = Client(cluster)
worked on my SageMaker instance on uswest-2, but failed my useast-1 instance with:
Task exception was never retrieved
future: <Task finished coro=<_wrap_awaitable() done, defined at /home/ec2-user/SageMaker/myenvs/pangeo/lib/python3.6/asyncio/tasks.py:530> exception=ClientError('An error occurred (ThrottlingException) when calling the DescribeTasks operation (reached max retries: 4): Rate exceeded',)>
Traceback (most recent call last):
File "/home/ec2-user/SageMaker/myenvs/pangeo/lib/python3.6/asyncio/tasks.py", line 537, in _wrap_awaitable
return (yield from awaitable.__await__())
File "/home/ec2-user/SageMaker/myenvs/pangeo/lib/python3.6/site-packages/dask_cloudprovider/providers/aws/ecs.py", line 130, in _
await self.start()
File "/home/ec2-user/SageMaker/myenvs/pangeo/lib/python3.6/site-packages/dask_cloudprovider/providers/aws/ecs.py", line 240, in start
await self._update_task()
File "/home/ec2-user/SageMaker/myenvs/pangeo/lib/python3.6/site-packages/dask_cloudprovider/providers/aws/ecs.py", line 158, in _update_task
cluster=self.cluster_arn, tasks=[self.task_arn]
File "/home/ec2-user/SageMaker/myenvs/pangeo/lib/python3.6/site-packages/aiobotocore/client.py", line 102, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (ThrottlingException) when calling the DescribeTasks operation (reached max retries: 4): Rate exceeded
It looks like the PR https://github.com/dask/dask-cloudprovider/pull/44 was designed to address at these problems, but it seems I’m still having them despite running v0.1.1 which includes that PR. I’m wondering whether others are still experiencing this?
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 5
- Comments: 24 (10 by maintainers)
Commits related to this issue
- Merge pull request #56 from koyeb/create-pull-request/patch Changes by create-pull-request action — committed to lukaszo/dask-cloudprovider by novln 2 years ago
I’m having a similar issue, except for me it’s
botocore.exceptions.ClientError: An error occurred (ThrottlingException) when calling the DeregisterTaskDefinition operation (reached max retries: 4): Rate exceeded
Hi - I’m getting the same error as a previous user in this thread.
To my knowledge, there isn’t anything I can do to increase this from Service Quotas. This only happens when I send off a large Batch array job on Fargate.
Hi I’m still having the same problem despite using the latest version of Dask and dask-cloudprovider. If I’m processing many input with bag or delayed I still continue to receive the following error
long after all the computation is done. As consequence my script never ends and, as I’m using Airflow in order to manage my pipeline, I got stucked.
Yes that error is expected. In order to avoid that you will need to request AWS to increase your service limits.
This version is meant to honor
max_tries
: