Vm.dirty_ratio

Home » CentOS-Virt » Vm.dirty_ratio
CentOS-Virt 3 Comments

Hello

I get the following error on the server. The problem is resolved when you restart. But is this causing the problem?

messages_log:
INFO: task jbd2/dm-1-8:674 blocked for more than 120 seconds echo 0 > /proc/sys/kernel/hung_task_timeout_secs

Thanks.

3 thoughts on - Vm.dirty_ratio

  • Dear, Please check if there is also error log contained OOM kill?

    Xlord

    —–Original Message—

  • Dear, It is either one of the task hold and time out due to system memory resource management of Linux

    Explain By default Linux uses up to 40% of the available memory for file system caching. After this mark has been reached the file system flushes all outstanding data to disk causing all following IOs going synchronous. For flushing out this data to disk this there is a time limit of 120 seconds by default. In the case here the IO subsystem is not fast enough to flush the data withing 120 seconds. As IO subsystem responds slowly and more requests are served, System Memory gets filled up resulting in the above error, thus serving HTTP requests.

    Source –>
    https://www.blackmoreops.com/2014/09/22/linux-kernel-panic-issue-fix-hung_ta sk_timeout_secs-blocked-120-seconds-problem/

    Hope that helps!
    Xlord

    —–Original Message—