出现不能分配内存的原因: 1.postgresql服务未启动 启动服务 service postgresql start 2.虚拟机内存分配过小,如:512M 将kali虚拟机的内存扩展到1G 出错图:忘记截图,sorry 成功图:…
2016-05-27 09:25:01 31332 [Note] Plugin 'FEDERATED' is disabled. 2016-05-27 09:25:01 31332 [Note] InnoDB: Using atomics to ref count buffer pool pages 2016-05-27 09:25:01 31332 [Note] InnoDB: The InnoDB memory heap is disabled 2016-05-27 09:25:01 313…
查看 Redis 日志 发现系统在频繁报错: [26641] 18 Dec 04:02:14 * 1 changes in 900 seconds. Saving… [26641] 18 Dec 04:02:14 # Can’t save in background: fork: Cannot allocate memory   在小内存的进程上做一个fork,不需要太多资源,但当这个进程的内存空间以G为单位时,fork就成为一件很恐怖的操作.何况在16G内存的主机上fork 14G内存的进程呢…
redis : Can't save in background: fork: Cannot allocate memory JAVA程序报错信息: MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs fo…
早上到了公司,发现docker资源池的某一台主机根文件系统写满. 检查后发现该主机/data目录未挂载文件系统,直接放在了根目录下.于是联系业务方将应用迁移,联系主机工程师为/data挂载80G的存储空间. 接着顺便检查了其它资源池主机的磁盘分区上可使用的磁盘空间.使用df -h命令查询,结果直接hang死. 去其它主机执行df命令,同样全部hang死. 随后主机上Docker容器内跑的业务开始报错. 尝试检查/var/log/message系统日志,发现全部被业务的报错日志充斥,可读性很差.…
:: mysqld_safe Starting mysqld daemon with databases from /data/mysqldb -- :: [Note] /usr/local/mysql/bin/mysqld (mysqld -log) starting as process ... -- :: [Warning] option adjusted to /usr/local/mysql/bin/mysqld: Table 'mysql.plugin' doesn't exist…
mysql以`systemctl start mysqld.service`的方式启动一段时间后发现突然无法启动,尝试重新启动也不能解决问题,排查问题时,先后通过`systemctl status mysqld.service`和`journalctl -xe` 命令查看问题,无所得.然后查看`/var/log/mysqld.log`发现日志内报错信息如下: 2019-02-07T00:33:21.731341Z 0 [Note] InnoDB: Initializing buffer pool…
今天遇到服务器无法SSH,VNC操作命令提示fork:cannot allocate memory free查看内存还有(注意,命令可能要多敲几次才会出来) 查看最大进程数 sysctl kernel.pid_max ps -eLf | wc -l查看进程数  确认是进程数满了 修改最大进程数后系统恢复echo 1000000 > /proc/sys/kernel/pid_max 永久生效echo "kernel.pid_max=1000000 " >> /etc/s…
mysql 无法启动 ,查看日志: --01T15::.401599Z [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details). --01T15::.403209Z [Note] /usr/sbin/mysqld (mysqld ) st…
今天启动mysql服务器时失败了.去/var/log/mysql/查看error.log,报错信息如下: 160123 22:29:26 InnoDB: Initializing buffer pool, size = 200.0M InnoDB: mmap(214630400 bytes) failed; errno 12160123 22:29:26 InnoDB: Completed initialization of buffer pool 160123 22:29:26 InnoDB:…