MariaDB 10.3 随机崩溃

MariaDB 10.3 随机崩溃

我在使用 mariadb 数据库时遇到了一个非常奇怪的问题,它随机崩溃并出现以下错误:

free(): corrupted unsorted chunks
210804 20:05:16 [ERROR] mysqld got signal 6 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.

To report this bug, see https://mariadb.com/kb/en/reporting-bugs

We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.

Server version: 10.3.27-MariaDB-0+deb10u1
key_buffer_size=134217728
read_buffer_size=131072
max_used_connections=152
max_threads=153
thread_count=157
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 467424 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x7f2534000c08
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 0x7f260c2b9dd8 thread_stack 0x49000

我已经尝试对分区进行 fsck,一切似乎都正常,这是 2 周前才开始发生的,服务器已经运行了 3 个月,

该服务器有一个

my.cnf 上的 sql_mode = ERROR_FOR_DIVISION_BY_ZERO、NO_AUTO_CREATE_USER、NO_ENGINE_SUBSTITUTION 参数我不知道这是否真的会在某些情况下导致 mysqld 崩溃。

有谁遇到过类似的问题吗?

相关内容