apache / openwhisk

Apache OpenWhisk is an open source serverless cloud platform
https://openwhisk.apache.org/
Apache License 2.0
6.56k stars 1.17k forks source link

Discussion about memory overflow of openwhisk function #5428

Open QWQyyy opened 1 year ago

QWQyyy commented 1 year ago

I have been using openwhisk for two years, but I still don't know what the mechanism of OpenWhisk function memory overflow is, will it print memory overflow prompts in the log? Or is it a development error to simply kill the container executing the function?

Dakzh10 commented 1 year ago

OpenWhisk does not have a mechanism to detect memory overflows in functions. If a function consumes too much memory, it will simply crash and its container will be killed. There is no way to recover from this error, and you will need to restart the container.