Hi Lennart,
That is important for me. Could you tell me that?



------------------ ------------------

 

This documentation says I can set by
LimitCORE="0;0"


But my request is:
For example, now system hard limit of core is infinity, I want to set soft 
limit to infinity.
But when hard limit is 0, I want to set soft limit to 0.
when hard limit is 100, I want to set soft limit to 100.


But how to know system hard limit? Is there a petty way to get hard limit?




------------------ ???????? ------------------
??????: "Lennart Poettering"<lenn...@poettering.net>; 
????????: 2017??11??1??(??????) ????4:15
??????: "????"<624001...@qq.com>; 
????: "Oliver Neukum"<oneu...@suse.com>; 
"systemd-devel"<systemd-devel@lists.freedesktop.org>; 
????: Re: ?????? ?????? ?????? ?????? [systemd-devel] ?????? ??????  [systemd-d 
e vel] sys temctl can't executestopactually,whenservice isstarted by other way



On Mi, 01.11.17 16:13, ???? (624001...@qq.com) wrote:

> But this documentations seems to not show how to get a hard limit in
> systemd.unit. Could you tell me how?

It documents how to configure the pair pair of soft and hard
limit. Please read the documentation I linked. Thanks.

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to