Skip to content
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

Error while downloading huge log files #94

Open
ghost opened this issue Jul 24, 2019 · 1 comment
Open

Error while downloading huge log files #94

ghost opened this issue Jul 24, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Jul 24, 2019

2019-07-24 07:35:05,150 :: INFO :: Getting logs from 2019-07-23
2019-07-24 07:35:05,352 :: INFO :: Downloading file /home/postgres/logs/vendor-live//error/postgresql.log.2019-07-23-00
2019-07-24 07:35:05,996 :: INFO :: Log truncated, retrying portion with NumberOfLines = 948
2019-07-24 07:35:08,924 :: INFO :: Log truncated, retrying portion with NumberOfLines = 852
2019-07-24 07:36:25,812 :: ERROR :: An error occurred (Throttling) when calling the DownloadDBLogFilePortion operation (reached max retries: 4): Rate exceeded
@Lngramos
Copy link

Lngramos commented Mar 8, 2021

I've just run into the same issue and increasing Boto's default number of retry attempts as per https://boto3.amazonaws.com/v1/documentation/api/latest/guide/retries.html seemed to help.

You can also specify these values either as local config file or env vars: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-retries.html#cli-usage-retries-configure-envvar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant