Re: [Bug 199931] New: systemd/rtorrent file data corruption when using echo 3 >/proc/sys/vm/drop_caches

Michal Hocko
2018-06-06T08:46:01Z

On Tue 05-06-18 13:03:29, Andrew Morton wrote:
[...]
> > As for why we would do something silly as dropping the caches every hour (in a
> > cronjob), we started doing this recently because after kernel 4.4, we got
> > frequent OOM kills despite having gigabytes of available memory (e.g. 12GB in
> > use, 20GB page cache and 16GB empty swap and bang, mysql gets killed). We found
> > that that the debian 4.9 kernel is unusable, and 4.14 works, *iff* we use the
> > above as an hourly cron job, so we did that, and afterwards run into
> > rtorrent/journald corruption issues. Without the echo in place, mysql usually
> > gets oom-killed after a few days of uptime.

Do you have any oom reports to share?
--
Michal Hocko
SUSE Labs