Internal server error

On servers with low ram < 1G, mysql is known to crash as it runs out of memory. If this is the case, you can reduce the innodb buffer pool size, refer Mysql (mariadb) crashing on DO Centos7 (SOLVED) - #5 by pdvyas