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 在某些情況下崩潰。

有人有類似問題的經驗嗎?

相關內容