Is there any solution for service start after OOM-KILL

I found that sometime mariadb is killed by OOM-KILL, even there are about 10 GB free RAM… weird…
I just want that the killed service to be restarted automatically. Does hestia have a solution for that? Sould i use mmonit or something like that?

Thank you.