[lxc-devel] [lxc/lxc] c6d09e: conf: implement resource limits
GitHub
noreply at github.com
Tue Apr 11 14:35:08 UTC 2017
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: c6d09e15c5a25fc1a16859e498af2af17b5dfb2f
https://github.com/lxc/lxc/commit/c6d09e15c5a25fc1a16859e498af2af17b5dfb2f
Author: Wolfgang Bumiller <w.bumiller at proxmox.com>
Date: 2017-04-11 (Tue, 11 Apr 2017)
Changed paths:
M configure.ac
M src/lxc/attach.c
M src/lxc/conf.c
M src/lxc/conf.h
M src/lxc/confile.c
M src/lxc/start.c
Log Message:
-----------
conf: implement resource limits
This adds lxc.limit.<name> options consisting of one or two
colon separated numerical values (soft and optional hard
limit). If only one number is specified it'll be used for
both soft and hard limit. Additionally the word 'unlimited'
can be used instead of numbers.
Eg.
lxc.limit.nofile = 30000:32768
lxc.limit.stack = unlimited
Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>
Commit: 93f9e90d72da6f71e61b4812b94bb4065548cfa5
https://github.com/lxc/lxc/commit/93f9e90d72da6f71e61b4812b94bb4065548cfa5
Author: Wolfgang Bumiller <w.bumiller at proxmox.com>
Date: 2017-04-11 (Tue, 11 Apr 2017)
Changed paths:
M doc/lxc.container.conf.sgml.in
Log Message:
-----------
doc: add lxc.limit to lxc.container.conf
Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>
Commit: fe17b651c529c8ed3c1b67e8fb4eabe5b099ca98
https://github.com/lxc/lxc/commit/fe17b651c529c8ed3c1b67e8fb4eabe5b099ca98
Author: Wolfgang Bumiller <w.bumiller at proxmox.com>
Date: 2017-04-11 (Tue, 11 Apr 2017)
Changed paths:
M src/tests/get_item.c
Log Message:
-----------
test: resource limit config entries
Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>
Commit: a6390f01cc5a5c016c151e5f0d486d276dfd4555
https://github.com/lxc/lxc/commit/a6390f01cc5a5c016c151e5f0d486d276dfd4555
Author: Wolfgang Bumiller <w.bumiller at proxmox.com>
Date: 2017-04-11 (Tue, 11 Apr 2017)
Changed paths:
M src/lxc/conf.c
Log Message:
-----------
conf: less error prone pointer access
These functions define pointer to their key shifted by a
number and guard access to it later via another variable.
Let's make this more explicit (and additionally have the
pointer be NULL in the case where it is not supposed to be
used).
Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>
Commit: 64f26a89022eb09438c8fb187af224bbbb02c678
https://github.com/lxc/lxc/commit/64f26a89022eb09438c8fb187af224bbbb02c678
Author: Christian Brauner <christian.brauner at ubuntu.com>
Date: 2017-04-11 (Tue, 11 Apr 2017)
Changed paths:
M configure.ac
M doc/lxc.container.conf.sgml.in
M src/lxc/attach.c
M src/lxc/conf.c
M src/lxc/conf.h
M src/lxc/confile.c
M src/lxc/start.c
M src/tests/get_item.c
Log Message:
-----------
Merge pull request #1276 from Blub/limits
Resource Limits
Compare: https://github.com/lxc/lxc/compare/359f86f97506...64f26a89022e
More information about the lxc-devel
mailing list