mysql經常掛掉 mysql老是掛的問題

2021-10-17 15:02:02 字數 887 閱讀 6797

190629 10:44:21 [error] mysqld: out of memory (needed 128917504 bytes)

190629 10:44:21 [error] mysqld: out of memory (needed 96681984 bytes)

190629 10:44:23 innodb: the innodb memory heap is disabled

190629 10:44:23 innodb: mutexes and rw_locks use gcc atomic builtins

190629 10:44:23 innodb: compressed tables use zlib 1.2.7

190629 10:44:23 innodb: using linux native aio

190629 10:44:27 innodb: initializing buffer pool, size = 50.0m

190629 10:44:27 innodb: completed initialization of buffer pool

190629 10:44:27 innodb: highest supported file format is barracuda.

190629 10:44:28 innodb: starting crash recovery from checkpoint lsn=12288135

190629 10:44:30 mysqld_safe mysqld from pid file /var/run/mariadb/mariadb.pid ended

日誌是這些,是因為記憶體不夠的原因嗎?

我那伺服器是1g記憶體的centos,調整哪些引數可以讓他吃記憶體小點呢?其實**基本沒啥人訪問的。

mongodb 經常掛掉

bin sh mongod startup script for mongod chkconfig 85 15 description mongodb database.processname mongod source function library etc rc.d init.d functi...

mysql老是掛 mysql頻繁掛掉

通常來說就是你記憶體小了,如果不能擴記憶體,就用swap。報錯資訊如下 2020 04 22t05 18 18.840523z 0 error innodb mmap 137428992 bytes failed errno 12 2020 04 22t05 18 18.840530z 0 erro...

mysql掛掉 mysql總是無緣無故的掛掉

偶爾上一下自己的部落格,發現最近總是出現mysql掛掉的現象,於是網上查了一下相關資訊,檢視mysql的錯誤日誌,發現有 2019 11 13t09 37 10.347713z 0 error innodb mmap 137428992 bytes failed errno 12 2019 11 1...