linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 203887] New: CGroup writeback is not supported by `xfs` filesystem leading to errors when using containers.
@ 2019-06-13 14:13 bugzilla-daemon
  2019-06-13 14:15 ` [Bug 203887] " bugzilla-daemon
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla-daemon @ 2019-06-13 14:13 UTC (permalink / raw)
  To: linux-xfs

https://bugzilla.kernel.org/show_bug.cgi?id=203887

            Bug ID: 203887
           Summary: CGroup writeback is not supported by `xfs` filesystem
                    leading to errors when using containers.
           Product: File System
           Version: 2.5
    Kernel Version: 4.14
          Hardware: Intel
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: XFS
          Assignee: filesystem_xfs@kernel-bugs.kernel.org
          Reporter: axel.borja.login@gmail.com
        Regression: No

I am currently working on a Kubernetes cluster, which uses docker.

This cluster allows me to launch jobs. For each job, I specify a memory request
and a memory limit.

The memory limit will be used by Kubernetes to fill the `--memory` option of
the docker run command when creating the container. If this container exceeds
this limit it will be killed for OOM reason.

When writing on disk, pages will be written-back on the RAM before being
written to the disk. To do this the system will evaluate how many pages could
be written-back using the sysctl `vm.dirty_ratio` (20 % by default) and memory
from the root cgroup.

In case of intensive IO operations, it leads some containers to OOM errors.

xfs should be able to writeback using cgroup.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug 203887] CGroup writeback is not supported by `xfs` filesystem leading to errors when using containers.
  2019-06-13 14:13 [Bug 203887] New: CGroup writeback is not supported by `xfs` filesystem leading to errors when using containers bugzilla-daemon
@ 2019-06-13 14:15 ` bugzilla-daemon
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla-daemon @ 2019-06-13 14:15 UTC (permalink / raw)
  To: linux-xfs

https://bugzilla.kernel.org/show_bug.cgi?id=203887

--- Comment #1 from axel.borja.login@gmail.com ---
My nodes are running under RHEL with a kernel 4.14 and I encounter OOM errors
when writing with xfs.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-06-13 14:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-13 14:13 [Bug 203887] New: CGroup writeback is not supported by `xfs` filesystem leading to errors when using containers bugzilla-daemon
2019-06-13 14:15 ` [Bug 203887] " bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).