Quantcast
Channel: Active questions tagged crash - Stack Overflow
Viewing all articles
Browse latest Browse all 7190

MySQL crashed with un-answered memory issue

$
0
0

My website (Wordpress) sometimes stopped working with message "cannot connect to Datatabse".

I checked the log file of MySQL and I found the following crash-info:

---------- 2021-01-21  0:44:59 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins2021-01-21  0:44:59 0 [Note] InnoDB: Uses event mutexes2021-01-21  0:44:59 0 [Note] InnoDB: Compressed tables use zlib 1.2.112021-01-21  0:44:59 0 [Note] InnoDB: Number of pools: 12021-01-21  0:45:00 0 [Note] InnoDB: Using SSE2 crc32 instructions2021-01-21  0:45:00 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M2021-01-21  0:45:00 0 [Note] InnoDB: Completed initialization of buffer pool2021-01-21  0:45:00 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().2021-01-21  0:45:00 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=2159931222021-01-21  0:45:07 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins2021-01-21  0:45:07 0 [Note] InnoDB: Uses event mutexes2021-01-21  0:45:07 0 [Note] InnoDB: Compressed tables use zlib 1.2.112021-01-21  0:45:07 0 [Note] InnoDB: Number of pools: 12021-01-21  0:45:07 0 [Note] InnoDB: Using SSE2 crc32 instructions2021-01-21  0:45:07 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M2021-01-21  0:45:07 0 [Note] InnoDB: Completed initialization of buffer pool2021-01-21  0:45:07 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().2021-01-21  0:45:07 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=2159931222021-01-21  0:50:02 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins2021-01-21  0:50:02 0 [Note] InnoDB: Uses event mutexes2021-01-21  0:50:02 0 [Note] InnoDB: Compressed tables use zlib 1.2.112021-01-21  0:50:02 0 [Note] InnoDB: Number of pools: 12021-01-21  0:50:02 0 [Note] InnoDB: Using SSE2 crc32 instructions2021-01-21  0:50:02 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M2021-01-21  0:50:02 0 [Note] InnoDB: Completed initialization of buffer pool2021-01-21  0:50:02 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().2021-01-21  0:50:02 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=2159931222021-01-21  0:50:02 0 [Note] InnoDB: 128 out of 128 rollback segments are active.2021-01-21  0:50:02 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"2021-01-21  0:50:02 0 [Note] InnoDB: Creating shared tablespace for temporary tables2021-01-21  0:50:02 0 [Note] InnoDB: Setting file '/opt/lampp/var/mysql/ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...2021-01-21  0:50:02 0 [Note] InnoDB: File '/opt/lampp/var/mysql/ibtmp1' size is now 12 MB.2021-01-21  0:50:02 0 [Note] InnoDB: Waiting for purge to start2021-01-21  0:50:02 0 [Note] InnoDB: 10.4.11 started; log sequence number 215993131; transaction id 2211502021-01-21  0:50:02 0 [Note] Plugin 'FEEDBACK' is disabled.2021-01-21  0:50:02 0 [Note] InnoDB: Loading buffer pool(s) from /opt/lampp/var/mysql/ib_buffer_pool2021-01-21  0:50:02 0 [Note] Server socket created on IP: '::'.---------- 

I restarted MySQL and my website worked well.The version of my MySQL is: Distrib 10.4.11-MariaDB, for Linux (x86_64)Ubuntu version 20.

This situation appeared a few times in the last month.

I searched the solution in some posts before.

I've already tried this configuration:

max_connections = 100  key_buffer = 50Mmax_allowed_packet = 10Mthread_stack = 128Ktable_cache = 50

but it still downed.

This is one source I've already found about my problem:MySQL keeps crashing

Does anyone encountered the same issue, and knows a fix?


Viewing all articles
Browse latest Browse all 7190

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>