есть такие строки в логе:
Server version: 10.3.22-MariaDB-1ubuntu1-log
key_buffer_size=16777216
read_buffer_size=2097152
max_used_connections=0
max_threads=3002
thread_count=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 12380168 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
это стандартный мусор, который мускуль выплёвывает, когда падает