kernel: swapper: page allocation failure. order:1, mode:0x20
场景:领导电话通知,我们的主站宕机了,到家后从另外一台机器上ssh一直处于等待状态,开始怀疑机器的负载比较高,
后查看监控机器,发现网卡、cpu、nginx连接数.....通通都没有数据了,显然不是负载高度问题了,应该是机器死机了,立刻通过ipmi重启机器
重启机器后,机器正常!
其实这个机器都正常运行大半年了,没啥问题!
查询/var/log/messages,发现大量的信息如下:
点击(此处)折叠或打开
- Mar 12 11:15:04 hy1 kernel: php-fpm: page allocation failure. order:1, mode:0x20
- Mar 12 11:15:04 hy1 kernel: php-fpm: page allocation failure. order:1, mode:0x20
- Mar 12 11:15:04 hy1 kernel: mysqld: page allocation failure. order:1, mode:0x20
- Mar 12 11:15:05 hy1 kernel: nginx: page allocation failure. order:1, mode:0x20
- Mar 12 11:15:05 hy1 kernel: nginx: page allocation failure. order:1, mode:0x20
- Mar 12 11:15:05 hy1 kernel: mysqld: page allocation failure. order:1, mode:0x20
- Mar 12 11:15:05 hy1 kernel: mysqld: page allocation failure. order:1, mode:0x20
- Mar 12 11:15:05 hy1 kernel: nginx: page allocation failure. order:1, mode:0x20
- Mar 12 11:15:05 hy1 kernel: nginx: page allocation failure. order:1, mode:0x20
- Mar 12 11:15:06 hy1 kernel: nginx: page allocation failure. order:1, mode:0x20
- Mar 12 11:15:09 hy1 kernel: nginx: page allocation failure. order:1, mode:0x20
- Mar 12 11:15:09 hy1 kernel: nginx: page allocation failure. order:1, mode:0x20
- Mar 12 11:15:09 hy1 kernel: mysqld: page allocation failure. order:1, mode:0x20
- Mar 12 11:15:10 hy1 kernel: mysqld: page allocation failure. order:1, mode:0x20
- Mar 12 11:15:11 hy1 kernel: mysqld: page allocation failure. order:1, mode:0x20
- Mar 12 11:15:11 hy1 kernel: mysqld: page allocation failure. order:1, mode:0x20
- Mar 12 11:15:11 hy1 kernel: mysqld: page allocation failure. order:1, mode:0x20
- Mar 12 11:15:11 hy1 kernel: mysqld: page allocation failure. order:1, mode:0x20
- Mar 12 11:15:11 hy1 kernel: mysqld: page allocation failure. order:1, mode:0x20
- Mar 12 11:17:33 hy1 kernel: swapper: page allocation failure. order:1, mode:0x20
- Mar 12 11:17:53 hy1 kernel: swapper: page allocation failure. order:1, mode:0x20
- Mar 12 11:17:53 hy1 kernel: swapper: page allocation failure. order:1, mode:0x20
- Mar 12 11:17:53 hy1 kernel: swapper: page allocation failure. order:1, mode:0x20
- Mar 12 11:17:53 hy1 kernel: swapper: page allocation failure. order:1, mode:0x20
- Mar 12 11:17:54 hy1 kernel: swapper: page allocation failure. order:1, mode:0x20
- Mar 12 11:17:54 hy1 kernel: swapper: page allocation failure. order:1, mode:0x20
- Mar 12 11:17:54 hy1 kernel: swapper: page allocation failure. order:1, mode:0x20
开始怀疑是系统的内存被吃光了,但通过检查监控,发现出问题的时候,内存还有蛮多可以用的! 当时的内存使用情况,见附件!
后来查到是内核的的一个bug
解决方法如下:
vi /etc/sysctl.conf
写入:
vm.zone_reclaim_mode = 1
sysctl -p 使其理解生效
原文:http://blog.chinaunix.net/uid-20776139-id-4155388.html
kernel: swapper: page allocation failure. order:1, mode:0x20的更多相关文章
- warn_alloc():page allocation failure问题分析
关键词:warn_alloc().__GFP_XXX.order.CMA等等. 在内存申请的时候经常会遇到类似“ xxx: page allocation failure: order:10...”类 ...
- Mongodb 故障分享 初始化时"errmsg" : "exception: new file allocation failure" 并且长时间处于STARTUP2
Hello,大家下午好. 近几天的项目有点赶,所以耽误了更新.现在给大家分享下,在安装mongodb的过程中,遇到的故障一则.其实很小白的问题,当时遇到这个问题的时候比较心慌,浪费了很多时间,跟大家分 ...
- Allocation Failure
up vote 8 down vote accepted "Allocation Failure" is a cause of GC cycle to kick. "Al ...
- mongodb new file allocation failure
话说那天正在向mongodb中写入数据,突然就蹦出了 new file allocation failure ,以为是数据有错误,就检查了一番,可没问题啊,看着像是mongo自己的问题,于是百度了一番 ...
- System and method to prioritize large memory page allocation in virtualized systems
The prioritization of large memory page mapping is a function of the access bits in the L1 page tabl ...
- linux page allocation and deallocation
All of the physical pages in the system are described by the mem_map data structure which is a li ...
- linux tcp调优
Linux TCP Performance Tuning News Linux Performance Tuning Recommended Books Recommended Links Linux ...
- [kernel]----理解kswapd的低水位min_free_kbytes
1. min_free_kbytes 先看官方解释: This is used to force the Linux VM to keep a minimum number of kilobytes ...
- [转]Android WiFi 掉线原因分析
看到一个比较详细的分析wifi断开的文章.收藏一下. 原文: http://blog.csdn.net/chi_wy/article/details/50963279 原因1 .从Log分析来看,这个 ...
随机推荐
- 学习C++服务端一:MySql与C++
mysql学习: http://www.cnblogs.com/cy163/archive/2008/10/16/1312277.html http://developer.51cto.com/art ...
- LeetCode——Balanced Binary Tree
Description: Given a binary tree, determine if it is height-balanced. For this problem, a height-bal ...
- 【node】------mongoose的基本使用------【巷子】
1.安装mongoose npm install mongoose 2.启动数据库 mongod --dbpath d:\data\db 3.引入mongoose模块并连接数据库 const mong ...
- 170623、springboot编程之JdbcTemplate操作数据库
使用JdbcTemplate操作mysql数据库! 1.在pom中引入jpa包 <dependency> <groupId>org.springframework.boot&l ...
- Css-常用css
/*怪异盒子模型*/ .box { box-sizing: border-box; } /*水平居中的内联块级*/ .inBlock { display: inline-block; vertical ...
- Linux服务器报错too many open files错误解决方案
1.本质解决方案按照oracle的安装脚本中以下几项文件进行相应配置: cp /etc/security/limits.conf /etc/security/limits.conf.bak echo ...
- Java使用极小的内存完成对超大数据的去重计数,用于实时计算中统计UV
Java使用极小的内存完成对超大数据的去重计数,用于实时计算中统计UV – lxw的大数据田地 http://lxw1234.com/archives/2015/09/516.htm Java使用极小 ...
- centos 搭建php环境
安装Apache1.安装yum -y install httpd2.开启apache服务systemctl start httpd.service3.设置apache服务开机启动systemctl e ...
- android进入页面会定位到ListView问题解决方法
在我们的页面中如果存在有ListView,当我们进入这个activity时,页面会定位到ListView的位置去,而不是activity的头部,这是由于ListView会去默认获取焦点所造成的. 解决 ...
- Day07 jdk5.0新特性&Junit&反射
day07总结 今日内容 MyEclipse安装与使用 JUnit使用 泛型 1.5新特性 自动装箱拆箱 增强for 静态导入 可变参数方法 枚举 反射 MyEclipse安装与使用(yes) 安装M ...