1
0
Fork 0
mirror of synced 2024-11-22 10:05:37 -05:00

revert chnges related to dirty_bytes

This commit is contained in:
Shrinivas Vishnu Kumbhar 2021-03-12 17:32:21 +05:30
parent 396bf1df5a
commit ffa74e7dc3

View file

@ -17,8 +17,8 @@ kernel.unprivileged_userns_clone=1
kernel.printk = 3 3 3 3 kernel.printk = 3 3 3 3
# The kernel default is to buffer up to 10% of system RAM before flushing writes to the disk, which is insane. By setting a reasonable number of bytes for the `dirty_bytes` parameter, we can avoid sending the system into OOM during a large file transfer. # The kernel default is to buffer up to 10% of system RAM before flushing writes to the disk, which is insane. By setting a reasonable number of bytes for the `dirty_bytes` parameter, we can avoid sending the system into OOM during a large file transfer.
vm.dirty_bytes = 16777216 #vm.dirty_bytes = 16777216
vm.dirty_background_bytes = 4194304 #vm.dirty_background_bytes = 4194304
###############-NOT USED-################# ###############-NOT USED-#################