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か月間稼働しています。
このサーバーには
sql_mode = ERROR_FOR_DIVISION_BY_ZERO、NO_AUTO_CREATE_USER、NO_ENGINE_SUBSTITUTION パラメータが my.cnf にありますが、これによって実際に mysqld がクラッシュする可能性があるかどうかはわかりません。
同様の問題を経験した人はいますか?