全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 897|回复: 9

mysql总是自己关掉,大佬们看看是什么原因

[复制链接]
发表于 2021-4-12 16:19:03 | 显示全部楼层 |阅读模式
vir洛杉矶的小鸡,用的是宝塔国际版,应该是最近才出现的问题,隔几天就自己下线

  1. 00:53:57.174300Z 0 [Warning] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
  2. 00:53:57.174322Z 0 [Warning] 'NO_AUTO_CREATE_USER' sql mode was not set.
  3. 00:53:57.174465Z 0 [Note] --secure-file-priv is set to NULL. Operations related to importing and exporting data are disabled
  4. 00:53:57.174590Z 0 [Note] /www/server/mysql/bin/mysqld (mysqld 5.7.31-log) starting as process 664 ...
  5. 00:53:57.516934Z 0 [Note] InnoDB: PUNCH HOLE support available
  6. 00:53:57.517106Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
  7. 00:53:57.517128Z 0 [Note] InnoDB: Uses event mutexes
  8. 00:53:57.517146Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
  9. 00:53:57.517163Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
  10. 00:53:57.517180Z 0 [Note] InnoDB: Using Linux native AIO
  11. 00:53:57.520093Z 0 [Note] InnoDB: Number of pools: 1
  12. 00:53:57.520589Z 0 [Note] InnoDB: Not using CPU crc32 instructions
  13. 00:53:57.525188Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
  14. 00:53:57.525380Z 0 [ERROR] InnoDB: mmap(137428992 bytes) failed; errno 12
  15. 00:53:57.525416Z 0 [ERROR] InnoDB: Cannot allocate memory for the buffer pool
  16. 00:53:57.525438Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
  17. 00:53:57.525471Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
  18. 00:53:57.525527Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
  19. 00:53:57.525559Z 0 [ERROR] Failed to initialize builtin plugins.
  20. 00:53:57.525575Z 0 [ERROR] Aborting

  21. 00:53:57.525610Z 0 [Note] Binlog end
  22. 00:53:57.525848Z 0 [Note] Shutting down plugin 'CSV'
  23. 00:53:57.526595Z 0 [Note] /www/server/mysql/bin/mysqld: Shutdown complete
复制代码
发表于 2021-4-12 16:49:39 | 显示全部楼层
这写了 开始分配缓存 然后就是挂了    把交换分区   搞大一点吧    或者配置文件改小一点
发表于 2021-4-12 16:20:35 来自手机 | 显示全部楼层
Cannot allocate memory for the buffer pool
发表于 2021-4-12 16:21:31 | 显示全部楼层
日志不是写了吗 Not using CPU 估计是鸡的问题 CPU不行
发表于 2021-4-12 16:23:02 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
发表于 2021-4-12 16:23:39 | 显示全部楼层
性能配置太差了。立马换高级独服
发表于 2021-4-12 16:25:55 | 显示全部楼层
CPU不行 内存不够
发表于 2021-4-12 16:26:13 | 显示全部楼层
根据服务器内存配置内存参数
发表于 2021-4-12 16:27:59 | 显示全部楼层
Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M    小鸡就别给   128 了
 楼主| 发表于 2021-4-12 16:35:34 | 显示全部楼层
Tuzi 发表于 2021-4-12 16:27
Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M    小鸡就别给   128 了 ...
  1. total        used        free      shared  buff/cache   available
  2. Mem:           1740         614         737          16         387         961
  3. Swap:           255         221          34
复制代码


1.7G内存,应该不是内存的问题吧
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-5-2 06:50 , Processed in 0.082724 second(s), 10 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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