Files
runc/man
Kir Kolyshkin 52390d6804 Ignore kernel memory settings
This is somewhat radical approach to deal with kernel memory.

Per-cgroup kernel memory limiting was always problematic. A few
examples:

 - older kernels had bugs and were even oopsing sometimes (best example
   is RHEL7 kernel);
 - kernel is unable to reclaim the kernel memory so once the limit is
   hit a cgroup is toasted;
 - some kernel memory allocations don't allow failing.

In addition to that,

 - users don't have a clue about how to set kernel memory limits
   (as the concept is much more complicated than e.g. [user] memory);
 - different kernels might have different kernel memory usage,
   which is sort of unexpected;
 - cgroup v2 do not have a [dedicated] kmem limit knob, and thus
   runc silently ignores kernel memory limits for v2;
 - kernel v5.4 made cgroup v1 kmem.limit obsoleted (see
   https://github.com/torvalds/linux/commit/0158115f702b).

In view of all this, and as the runtime-spec lists memory.kernel
and memory.kernelTCP as OPTIONAL, let's ignore kernel memory
limits (for cgroup v1, same as we're already doing for v2).

This should result in less bugs and better user experience.

The only bad side effect from it might be that stat can show kernel
memory usage as 0 (since the accounting is not enabled).

[v2: add a warning in specconv that limits are ignored]

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2021-04-12 12:18:11 -07:00
..
2019-08-06 21:29:31 +02:00
2019-08-06 21:29:31 +02:00
2019-08-06 21:29:31 +02:00
2019-08-06 21:29:31 +02:00
2019-08-06 21:29:31 +02:00
2019-08-06 21:29:31 +02:00
2019-08-06 21:29:31 +02:00
2019-08-06 21:29:31 +02:00
2019-08-06 21:29:31 +02:00
2019-08-06 21:29:31 +02:00
2019-08-06 21:29:31 +02:00
2019-08-06 21:29:31 +02:00
2019-08-06 21:29:31 +02:00
2019-08-06 21:29:31 +02:00
2019-08-06 21:29:31 +02:00
2021-04-12 12:18:11 -07:00
2019-08-06 21:29:31 +02:00

runc man pages

This directory contains man pages for runc in markdown format.

To generate man pages from it, use this command

./md2man-all.sh

You will see man pages generated under the man8 directory.