|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v2 1/2] tools/xenstore: set oom score for xenstore daemon on Linux
Hi Juergen, On 08/06/2021 06:58, Juergen Gross wrote: Xenstored is absolutely mandatory for a Xen host and it can't be restarted, so being killed by OOM-killer in case of memory shortage is to be avoided. Set /proc/$pid/oom_score_adj (if available) to -500 in order to allow xenstored to use large amounts of memory without being killed. Make sure the pid file isn't a left-over from a previous run delete it before starting xenstored. This sentence is a bit confusing to read. Do you mean "*To* make sure....*,* delete it before"?
NIT: It would be worth considering to introduce a variable so this can be set from the configuration file. With or without it: Acked-by: Julien Grall <jgrall@xxxxxxxxxx> Cheers, -- Julien Grall
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |