[systemd-devel] 回复: 回复: 回复: 回复: 回复: 回复: 回复: [systemd-d e vel] sys temctl can't executestopactually,whenservice isstarted by other way

清辰 624001899 at qq.com
Wed Nov 1 08:25:59 UTC 2017


Sorry, I has read the documentation.

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"<lennart at poettering.net>; 
发送时间: 2017年11月1日(星期三) 下午4:15
收件人: "清辰"<624001899 at qq.com>; 
抄送: "Oliver Neukum"<oneukum at suse.com>; "systemd-devel"<systemd-devel at 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, 清辰 (624001899 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20171101/af1524b0/attachment.html>


More information about the systemd-devel mailing list