AWS beanstalk docker exception: `shim reaped` AWS beanstalk docker exception: `shim reaped` docker docker

AWS beanstalk docker exception: `shim reaped`


This failure may be due to the containerd running on a system with THP (transparent huge pages) enabled. The memory mangement scheme doesn't align with your container's memory allocation pattern causing the failure. A similar issue was reported at https://github.com/containerd/containerd/issues/2202

Unfortunately, you cannot tune the kernel settings for Elastic Beanstalk hosts to resolve this problem. The solution is documented for mongodb as it has similar issues with THP.

https://docs.mongodb.com/manual/tutorial/transparent-huge-pages/