Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

aws lambda: Error: Runtime exited with error: signal: killed

I'm trying to pull a large file from S3 and write it to RDS using pandas dataframes.

I've been googling this error and haven't seen it anywhere, does anyone know what this extremely generic sounding error could mean? I've encountered memory issues previously but expanding the memory removed that error.

{   "errorType": "Runtime.ExitError",   "errorMessage": "RequestId: 99aa9711-ca93-4201-8b1e-73bf31b762a6 Error: Runtime exited with error: signal: killed" } 
like image 652
Matt Takao Avatar asked Nov 26 '19 19:11

Matt Takao


People also ask

What happens if a Lambda function fails?

You can retry, send the event to a queue for debugging, or ignore the error. Your function's code might have run completely, partially, or not at all. If you retry, ensure that your function's code can handle the same event multiple times without causing duplicate transactions or other unwanted side effects.

Do lambdas retry by default?

When a function returns an error after execution, Lambda attempts to run it two more times by default. With Maximum Retry Attempts, you can customize the maximum number of retries from 0 to 2. This gives you the option to continue processing new events with fewer or no retries.


1 Answers

Got the same error when executing the lambda for process an image, Only few results coming when searching in web for this error.

increased the memory to 512mb to resolve it.

enter image description here

like image 55
Bira Avatar answered Oct 05 '22 05:10

Bira