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的更多相关文章

  1. [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 ...

  2. wince6.0 编译报错:"error C2220: warning treated as error - no 'object' file generated"的解决办法

    内容提要:wince6.0编译报错:"error C2220: warning treated as error - no 'object' file generated" 原因是 ...

  3. 深入 kernel panic 流程【转】

    一.前言 我们在项目开发过程中,很多时候会出现由于某种原因经常会导致手机系统死机重启的情况(重启分Android重启跟kernel重启,而我们这里只讨论kernel重启也就是 kernel panic ...

  4. 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 ...

  5. linux kernel tainted

    日志中会有一些信息: dmesg | grep -i tainted 具体代码可以通过proc看到: cat /proc/sys/kernel/tainted 数字的意义: tainted: Non- ...

  6. How the Kernel Manages Your Memory

    http://duartes.org/gustavo/blog/post/how-the-kernel-manages-your-memory/ After examining the virtual ...

  7. [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 ...

  8. File I/O

    File I/O Introduction     We'll start our discussion of the UNIX System by describing the functions ...

  9. 线上centos6出现软死锁 kernel:BUG: soft lockup

    线上centos6出现软死锁 kernel:BUG: soft lockup 今天线上一台centos6机器用xshell一直连接不上,然后在xshell上显示 Message from syslog ...

随机推荐

  1. phpMyAdmin本地文件包含漏洞

    4 phpMyAdmin本地文件包含漏洞 4.1 摘要 4.1.1 漏洞简介 phpMyAdmin是一个web端通用MySQL管理工具,上述版本在/libraries/gis/pma_gis_fact ...

  2. VC++ 获取文件属性创建时间、修改时间和访问时间

    转载:http://blog.sina.com.cn/s/blog_66bf8d8301014ikd.html WIN32_FIND_DATA结构 关于文件的全部属性信息,总计有以下以下9 种:文件的 ...

  3. windows下如何获取系统已存在的盘符 【c++】

    #include <iostream> #include "classAh.h" #include <atlstr.h> using namespace s ...

  4. 51nod 1202 子序列个数

    1202 子序列个数  题目来源: 福州大学 OJ 基准时间限制:1 秒 空间限制:131072 KB 分值: 40 难度:4级算法题  收藏  关注 子序列的定义:对于一个序列a=a[1],a[2] ...

  5. 使用 PYTHON 为 PIP 搭建 HTTP 代理

    在一台没有 Root 权限的机器上,部署使用 Python 编写的服务,似乎只有 virtualenv 一条路可以选了. 当然我见过一些同事会在自己的家目录编译一个,然后设置一下 $PATH ,但是从 ...

  6. HDU 6092 Rikka with Subset(dp)

    http://acm.hdu.edu.cn/showproblem.php?pid=6092 题意: 给出两个数组A和B,A数组一共可以有(1<<n)种不同的集合组合,B中则记录了每个数出 ...

  7. UVa 1395 苗条的生成树(Kruskal+并查集)

    https://vjudge.net/problem/UVA-1395 题意: 给出一个n结点的图,求苗条度(最大边减最小边的值)尽量小的生成树. 思路: 主要还是克鲁斯卡尔算法,先仍是按权值排序,对 ...

  8. 关于Mybatis 的 Mapped Statements collection does not contain value for 异常 解决方案

    查看堆栈信息: at org.apache.ibatis.session.Configuration$StrictMap.get(Configuration.java:595) at org.apac ...

  9. c++ 判断数组元素是否都是奇数(all_of)

    #include <iostream> // std::cout #include <algorithm> // std::all_of #include <array& ...

  10. 【Golang】格式化JSON字符串,方便查看

    分别介绍golang及Python格式化接口返回JSON数据的方法,及Python json.dumps方法出现NameError: name 'true' is not defined原因解析及解决 ...