docker icon indicating copy to clipboard operation
docker copied to clipboard

Fix OOM (Out Of Memory) Errors

Open mjnaderi opened this issue 1 year ago • 5 comments

Summary

This PR fixes https://github.com/mattermost/mattermost/issues/20625.

Ticket Link

None

mjnaderi avatar Sep 28 '23 15:09 mjnaderi

Thank you for your contribution @mjnaderi ! I don't have an objection to this change myself, but I don't think this fixes https://github.com/mattermost/mattermost/issues/20625 , since the reporter mentions using Openshift, so they are unlikely to be using docker compose. I would include @agnivade as a reviewer, to double check if there are conditions under which such a spike in PIDs in the Mattermost container is expected.

mvitale1989 avatar Dec 04 '23 20:12 mvitale1989

Thanks for the input Agniva! Agreed, if more than 200 PIDs is an unreasonable number then we'd better understand what that is first before thinking about merging this change. I'll remove my approval for the time being to reduce confusion

mvitale1989 avatar Dec 05 '23 12:12 mvitale1989

I had the same problem and changing this values fixed it. Like you said, I pushed the problem under the rug by increasing the limit.

erfantkerfan avatar Apr 27 '24 15:04 erfantkerfan

Did you try listing out the processes to see what was wrong?

agnivade avatar Apr 29 '24 02:04 agnivade

Did you try listing out the processes to see what was wrong?

No, but since then, I did not have any crashes, so I did not have the chance to

erfantkerfan avatar Apr 29 '24 05:04 erfantkerfan