On Thu, 7 Jun 2018 11:48:54 +0300 Reco said: > On Thu, Jun 07, 2018 at 11:05:27AM +0300, Abdullah Ramazanoğlu wrote: > > On Thu, 7 Jun 2018 10:52:01 +0300 Reco said: > > > > [--8<--] > > > > > Limit the size of dirty blocks cache. Kernel defaults are insanely large. > > > What I'm using here is: > > > > > > $ cat /etc/sysctl.d/12309.conf > > > vm.dirty_ratio=5 > > > vm.dirty_background_ratio=5 > > > > I have added the line below to /etc/crontab for different reasons (better FS > > resilience), but it might help to circumvent this bug too. > > > > * * * * * root /bin/sync > > Here our approaches differ. I'm a strong believer of 'kernel does not > need userspace kludges' principle. > Yours is what Red Hat is using these days - 'we wrote a userspace tool > for that'. > > To each its own, I guess.
I'm also a strong believer of 'kernel *should* not need user-space kludges' principle. But if/when it needs, then I am not too shy to apply them. Regards -- Abdullah Ramazanoğlu