write file to stroage trigger kernel warning
when you write large files to extern stroage, the kernel may have as follow context:
[ 4560.236385] INFO: task sync:1036 blocked for more than 120 seconds.
[ 4560.236389] Not tainted 4.4.0-21-generic #37-Ubuntu
[ 4560.236390] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 4560.236391] sync D ffff880065aafdd8 0 1036 869 0x00000000
[ 4560.236394] ffff880065aafdd8 ffff8800b83a6650 ffff8801b73b2940 ffff880034938dc0
[ 4560.236396] ffff880065ab0000 ffff8800b83a6680 ffff8800b83a6330 ffff880065aafe64
[ 4560.236397] ffffffff81240470 ffff880065aafdf0 ffffffff818203f5 ffff880065aafe64
[ 4560.236398] Call Trace:
[ 4560.236404] [<ffffffff81240470>] ? SyS_tee+0x3e0/0x3e0
[ 4560.236407] [<ffffffff818203f5>] schedule+0x35/0x80
[ 4560.236430] [<ffffffff81236788>] wb_wait_for_completion+0x58/0xa0
[ 4560.236433] [<ffffffff810c3a10>] ? wake_atomic_t_function+0x60/0x60
[ 4560.236434] [<ffffffff81239e23>] sync_inodes_sb+0xa3/0x1f0
[ 4560.236436] [<ffffffff81240470>] ? SyS_tee+0x3e0/0x3e0
[ 4560.236437] [<ffffffff81240485>] sync_inodes_one_sb+0x15/0x20
[ 4560.236440] [<ffffffff812100b9>] iterate_supers+0xb9/0x110
[ 4560.236442] [<ffffffff812407e4>] sys_sync+0x44/0xb0
[ 4560.236443] [<ffffffff818244f2>] entry_SYSCALL_64_fastpath+0x16/0x71
why happen:
normal, it not direct I/O when write file to extern stroage,
it will to write to cache, when the cache up to forty percent of the memory capacity
it will trigger flush to extern stroage, it depend your system configure.
so subject to I/O performance, system unable compelte synchronization in 120 seconds
kernel will upraised warning message.
write file to stroage trigger kernel warning的更多相关文章
- [WebStrom] Cannot detect file change to trigger webpack re-compile
Working with editors/IDEs supporting “safe write” Note that many editors support “safe write” featur ...
- wince6.0 编译报错:"error C2220: warning treated as error - no 'object' file generated"的解决办法
内容提要:wince6.0编译报错:"error C2220: warning treated as error - no 'object' file generated" 原因是 ...
- 深入 kernel panic 流程【转】
一.前言 我们在项目开发过程中,很多时候会出现由于某种原因经常会导致手机系统死机重启的情况(重启分Android重启跟kernel重启,而我们这里只讨论kernel重启也就是 kernel panic ...
- linux 编译kernel与svn版本冲突解决方法 [drivers/gpu/mali/mali/common/mali_kernel_core.o] 错误 1
问题: 系统正常编译linux系统kernel,安装svn后,kernel编译出错. 错误: CHK include/linux/version.h CHK include/gene ...
- linux kernel tainted
日志中会有一些信息: dmesg | grep -i tainted 具体代码可以通过proc看到: cat /proc/sys/kernel/tainted 数字的意义: tainted: Non- ...
- How the Kernel Manages Your Memory
http://duartes.org/gustavo/blog/post/how-the-kernel-manages-your-memory/ After examining the virtual ...
- [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist 160913 02:11:21 mysqld_safe mysqld from pid file /tmp/mysql.pid ended
-- :: [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0 -- :: [Warning] InnoDB: New ...
- File I/O
File I/O Introduction We'll start our discussion of the UNIX System by describing the functions ...
- 线上centos6出现软死锁 kernel:BUG: soft lockup
线上centos6出现软死锁 kernel:BUG: soft lockup 今天线上一台centos6机器用xshell一直连接不上,然后在xshell上显示 Message from syslog ...
随机推荐
- Python3基础 raise 产生RuntimeError 异常
Python : 3.7.0 OS : Ubuntu 18.04.1 LTS IDE : PyCharm 2018.2.4 Conda ...
- Android灯光系统--通知灯深入分析
Android灯光系统--通知灯深入分析 通知的类别 声音 振动 闪灯 APP如何发出通知灯请求 getSystemService(获得通知服务) 构造notification 类别 其他参数(颜色, ...
- Farey Sequence (素筛欧拉函数/水)题解
The Farey Sequence Fn for any integer n with n >= 2 is the set of irreducible rational numbers a/ ...
- Is it bad to rely on foreign key cascading? 外键 级联操作
Is it bad to rely on foreign key cascading? I'll preface前言 this by saying that I rarely delete rows ...
- VS不显示最近打开的项目
VS2012不显示最近打开的项目 解决方法, 在"运行"中输入 " gpedit.msc"打开后在"用户配置"-"管理模板&quo ...
- CodeForces 1105E
题目链接 std:meet in the middle 首先把所有的点分成两部分,设\(f_i\)为前半部分在点集\(i\)中选出的最大独立集,\(g\)为在后半部分选.这个可以在\(O(2^{m/2 ...
- BZOJ5293: [Bjoi2018]求和 树上差分
Description master 对树上的求和非常感兴趣.他生成了一棵有根树,并且希望多次询问这棵树上一段路径上所有节点深度的k 次方和,而且每次的k 可能是不同的.此处节点深度的定义是这个节点 ...
- 【TCP/IP详解 卷一:协议】第二十章 TCP的成块数据流
本章节主要内容: ACK的累积 滑动窗口协议(即 接收方TCP数据报缓存的大小) 流量控制(慢启动 -发送方TCP的 拥塞窗口(cwnd) 以及接受方的 通告窗口) 20.1 引言 在教材的之前章节中 ...
- React Native的SliderIOS滑块组件
import React,{Component}from 'react'; import { AppRegistry, StyleSheet, Text, View, SliderIOS, } fro ...
- MongoDB(课时12 字段判断)
3.4.2.7 判断某个字段是否存在 使用“$exists”可以判断某个字段是否存在,如果设置为true表示存在,false表示不存在. 范例:查询具有parents成员的数据 db.students ...