Warmup function times out frequently
See original GitHub issueMy warmup function errors about 2 times a day with error Task timed out after 120.08 seconds
. The output in the logs would be
START RequestId: 123456789 Version: $LATEST
END RequestId: 123456789
REPORT RequestId: 123456789 Duration: 120083.94 ms Billed Duration: 120000 ms Memory Size: 128 MB Max Memory Used: 61 MB
2019-01-30T15:38:08.511Z 123456789 Task timed out after 120.08 seconds
So it doesn’t even log
2019-01-30T15:31:08.716Z 987654321 Warm Up Start
as it does on successful invocations. Any idea why this is?
The warmup function is not in a VPC (the functions it calls are, though) and frequency is 5 minutes.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:29 (13 by maintainers)
Top Results From Across the Web
Warmup function times out frequently · Issue #117 - GitHub
My warmup function errors about 2 times a day with error Task timed out after 120.08 seconds . The output in the logs...
Read more >How To Fix AWS Lambda Cold Start Issues
Learn how to prevent cold start in your Lambda functions with the Serverless WarmUp plugin.
Read more >Azure Functions warmup trigger - Microsoft Learn
The warmup trigger is only called during scale-out operations, not during restarts or other non-scale startups. Make sure your logic can load ...
Read more >Why Warming Up and Cooling Down is Important
If you start exercising at a strenuous level without warming up first, you will place unnecessary stress on your heart and lungs.
Read more >Warm-up and cool-down - NHS inform
Warming up increases your heart rate and therefore your blood flow. This enables more oxygen to reach your muscles. A warm-up also activates...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We have been facing the same issue. Raised a ticket with AWS with no avail. However, these timeout issues are not limited to just warming up lambdas. I have seen intermittent timeouts on normal execution lambdas too. And this started happening around feb. We had existing code in prod, and with no changes it started timing out. Of late even warm-up lambdas timeout after 10 seconds, and this happens for about 8-10 minutes, and then resumes normal function. Still waiting on AWS to respond to it…
@idhard Nope, they say they are still investigating. It seems to be a recurring problem.