[PATCH v6 0/2] tools/xenstore: set resource limits of xenstored

Juergen Gross posted 2 patches 1 week, 3 days ago
.../Linux/init.d/sysconfig.xencommons.in      | 22 +++++++++++++++
tools/hotplug/Linux/launch-xenstore.in        | 27 ++++++++++++++++++-
2 files changed, 48 insertions(+), 1 deletion(-)

[PATCH v6 0/2] tools/xenstore: set resource limits of xenstored

Posted by Juergen Gross 1 week, 3 days ago
Set some limits for xenstored in order to avoid it being killed by
OOM killer, or to run out of file descriptors.

Changes in V6:
- start daemon directly via prlimit

Changes in V5:
- respect /proc/sys/fs/nr_open (Ian Jackson)

Changes in V4:
- add comments
- switch to configure open file descriptors directly

Changes in V3:
- make oom score configurable

Changes in V2:
- split into 2 patches
- set limits from start script

Juergen Gross (2):
  tools/xenstore: set oom score for xenstore daemon on Linux
  tools/xenstore: set open file descriptor limit for xenstored

 .../Linux/init.d/sysconfig.xencommons.in      | 22 +++++++++++++++
 tools/hotplug/Linux/launch-xenstore.in        | 27 ++++++++++++++++++-
 2 files changed, 48 insertions(+), 1 deletion(-)

-- 
2.26.2


[PATCH v6 0/2] tools/xenstore: set resource limits of xenstored

Posted by Ian Jackson 4 days ago
Juergen Gross writes ("[PATCH v6 0/2] tools/xenstore: set resource limits of xenstored"):
> Set some limits for xenstored in order to avoid it being killed by
> OOM killer, or to run out of file descriptors.

It looks like these were overlooked; they should have gone in last
week.

I think this is arguably a bugfix and we have time to fix it if it
causes a problem, and it's only one working day late, so for the
record

Release-Acked-by: Ian Jackson <iwj@xenproject.org>

and I will push these now.

Ian.