I have a group of customers have random crash and I have to restart the php container for it to work. Where do we check the reason and improve to prevent ?
Probably running out of memory. Is the package limits really low? Is their app very heavy requiring lots of ram/cpu? I'd check error log too, maybe they have a bad plugin consuming too much resource due to error.
Agree on memory usage being suspect. These are the logs and commands I'd be using to get to the bottom of it.
tail -n 50 /var/lib/docker/containers/*/*.log tail -n 50 /var/log/syslog zgrep oom /var/log/*
okay let me check, I've set like 64gb ram just for these few websites .