I have container, which i want to kill if the memory utilisation exceeds some value. I don't the want the container to be crashed, hence, any graceful way of doing this? If there is pythonic way that would be even great.
Asked
Active
Viewed 252 times
1
-
Have a look at this question `https://stackoverflow.com/questions/938733/total-memory-used-by-python-process` – dikesh Jul 12 '22 at 08:27
-
I dont want memory limiter; i want to kill a gcp cloudrun container from script – Rohan Gupta Jul 17 '22 at 10:20
-
1It would be useful if google would let us send a SIGTERM or SIGKILL to cloud run containers. One can hope. – randomdatascientist Aug 24 '22 at 23:47