VPS侦探论坛

 找回密码
 注册
搜索
查看: 78|回复: 2

[MySQL] 求助Mysql异常挂掉

[复制链接]
发表于 2019-6-16 10:32:29 | 显示全部楼层 |阅读模式

> lnmp status

报错:
lnmp ERROR! MySQL is not running, but lock file (/var/lock/subsys/mysql) exit

日志:

2019-06-16 08:46:35 18572 [Note] Plugin 'FEDERATED' is disabled.
2019-06-16 08:46:35 18572 [Note] InnoDB: Using atomics to ref count buffer pool pages
2019-06-16 08:46:35 18572 [Note] InnoDB: The InnoDB memory heap is disabled
2019-06-16 08:46:35 18572 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2019-06-16 08:46:35 18572 [Note] InnoDB: Memory barrier is not used
2019-06-16 08:46:35 18572 [Note] InnoDB: Compressed tables use zlib 1.2.3
2019-06-16 08:46:35 18572 [Note] InnoDB: Using Linux native AIO
2019-06-16 08:46:35 18572 [Note] InnoDB: Using CPU crc32 instructions
2019-06-16 08:46:35 18572 [Note] InnoDB: Initializing buffer pool, size = 256.0M
2019-06-16 08:46:35 18572 [Note] InnoDB: Completed initialization of buffer pool
2019-06-16 08:46:35 18572 [Note] InnoDB: Highest supported file format is Barracuda.
2019-06-16 08:46:35 18572 [Note] InnoDB: The log sequence numbers 927262583 and 927262583 in ibdata files do not match the log sequence number 927263930 in the ib_logfiles!
2019-06-16 08:46:35 18572 [Note] InnoDB: Database was not shutdown normally!
2019-06-16 08:46:35 18572 [Note] InnoDB: Starting crash recovery.
2019-06-16 08:46:35 18572 [Note] InnoDB: Reading tablespace information from the .ibd files...
2019-06-16 08:46:36 18572 [Note] InnoDB: Restoring possible half-written data pages
2019-06-16 08:46:36 18572 [Note] InnoDB: from the doublewrite buffer...
InnoDB: Last MySQL binlog file position 0 12379, file name mysql-bin.000139
2019-06-16 08:46:36 18572 [Note] InnoDB: 128 rollback segment(s) are active.
2019-06-16 08:46:36 18572 [Note] InnoDB: Waiting for purge to start
2019-06-16 08:46:36 18572 [Note] InnoDB: 5.6.40 started; log sequence number 927263930
2019-06-16 08:46:36 18572 [Note] Recovering after a crash using mysql-bin
2019-06-16 08:46:36 18572 [Note] Starting crash recovery...
2019-06-16 08:46:36 18572 [Note] Crash recovery finished.
2019-06-16 08:46:36 18572 [Note] Server hostname (bind-address): '*'; port: 3306
2019-06-16 08:46:36 18572 [Note] IPv6 is available.
2019-06-16 08:46:36 18572 [Note]   - '::' resolves to '::';
2019-06-16 08:46:36 18572 [Note] Server socket created on IP: '::'.
2019-06-16 08:46:36 18572 [Note] Event Scheduler: Loaded 0 events
2019-06-16 08:46:36 18572 [Note] /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.6.40-log'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution


美国VPS推荐: 遨游主机LinodeLOCVPSKVMLAVPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2019-6-16 12:58:52 | 显示全部楼层

上面日志中没有有用信息
mysql挂掉可能是系统内存不足,你机器什么配置?

美国VPS、VPN、域名代购:http://shop63846532.taobao.com/

 楼主| 发表于 2019-6-16 13:51:15 | 显示全部楼层


  1. [root@izwz98cxeb1jzlvv7ke8xaz sqldata]# cat /proc/cpuinfo | grep name
  2. model name        : Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz
  3. model name        : Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz
复制代码

  1. [root@izwz98cxeb1jzlvv7ke8xaz sqldata]# cat /proc/meminfo | head -4
  2. MemTotal:        3881688 kB
  3. MemFree:          326896 kB
  4. MemAvailable:    1556488 kB
  5. Buffers:          210676 kB
复制代码
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org/
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2019-7-21 15:32 , Processed in 0.040514 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表