| Bug #120000 | Mysql crash after increase 2% innodb buffer pool | ||
|---|---|---|---|
| Submitted: | 6 Mar 21:55 | Modified: | 8 Mar 13:19 |
| Reporter: | Cesar Alzate | Email Updates: | |
| Status: | Open | Impact on me: | |
| Category: | MySQL Server | Severity: | S3 (Non-critical) |
| Version: | 8.0.30-22 | OS: | Ubuntu (22) |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | Swap = 0 in 8.0.30-22 for Linux on x86_64 (Percona Server (GPL) | ||
[6 Mar 21:55]
Cesar Alzate
[7 Mar 11:27]
MySQL Verification Team
Sounds like kernel killed mysqld due to OOM (out of memory). Please check /var/log/messages logs to see if that was the case. BTW, you should probably want to have a swap partition if server has small amount of RAM.
[7 Mar 13:51]
Jean-François Gagné
Related reading: https://anotherboringtechblog.com/2026/02/innodb-buffer-pool-chunk-size-calculator/ Would be good to have exact values of: - innodb_buffer_pool_size - innodb_buffer_pool_instances - innodb_buffer_pool_chunk_size And congrats on getting Bug#120000 ! :-)
[8 Mar 12:19]
Cesar Alzate
I am adding the log and the innodb values requested: +-------------------------------+-------------+ | Variable_name | Value | +-------------------------------+-------------+ | innodb_buffer_pool_chunk_size | 134217728 | | innodb_buffer_pool_instances | 8 | | innodb_buffer_pool_size | 22548578304 | +-------------------------------+-------------+ I tried to increased innodb_buffer_pool_size to 25245508608(75 % ram).
[8 Mar 13:19]
Cesar Alzate
no memory or panic messages in log: grep -Ei "oom|out of memory|killed process|panic|watchdog|hung task|i/o error|ext4|xfs|nvme|reset" /var/log/syslog.1 | wc -l 0 last -x | head cesar_al pts/0 xxx Thu Mar 5 14:56 - crash (00:51)
