You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by Qiang Chen <qz...@gmail.com> on 2016/06/29 01:52:30 UTC
Re: Should specify KillMode=control-group explicitly in centos 7 ?
Hi Joris,
what do you think about the configure? thanks.
On 2016\u5e7406\u670828\u65e5 12:05, haosdent wrote:
> Boxbe <https://www.boxbe.com/overview> This message is eligible for
> Automatic Cleanup! (haosdent@gmail.com) Add cleanup rule
> <https://www.boxbe.com/popup?url=https%3A%2F%2Fwww.boxbe.com%2Fcleanup%3Fkey%3DXIPTHP7zzaDO8yTtAIprYUdb6s1WbUJ1M5lbpkkzrlM%253D%26token%3D6ZzndmOdCoFtTiKPNv531OJcK00W6J2ZYAEbGSld7kNQnIbGoLh8l9Bkbyhj%252BsPZrCQAwybCfTZlfdG7tlVQjddbU1xK7ehJem92vg3jYwz%252BnYcbbOmHz5EfgIe6i48LAsheFYZesuE%253D&tc_serial=25912195194&tc_rand=1749612871&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001>
> | More info
> <http://blog.boxbe.com/general/boxbe-automatic-cleanup?tc_serial=25912195194&tc_rand=1749612871&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001>
>
>
>
> DCOS use
>
> ```
> [Service]
> Restart=always
> StartLimitInterval=0
> RestartSec=5
> KillMode=control-group
> Delegate=true
> LimitNOFILE=infinity
> ```
>
> I think we need ping @Joris to check if should
> use `KillMode=control-group` & `Delegate=true` explicitly
>
> On Tue, Jun 28, 2016 at 11:40 AM, Qiang Chen <qzschen@gmail.com
> <ma...@gmail.com>> wrote:
>
> but in the bottom of
> http://mesos.apache.org/documentation/latest/agent-recovery/
>
> it recommends to use `KillMode=control-group` now.
>
>
> On 2016\u5e7406\u670828\u65e5 11:32, haosdent wrote:
>> According to
>> https://github.com/mesosphere/mesos-deb-packaging/blob/master/systemd/slave.systemd
>> , only
>> ```
>> KillMode=process
>> ```
>> is necessary.
>>
>> On Tue, Jun 28, 2016 at 11:22 AM, Qiang Chen <qzschen@gmail.com
>> <ma...@gmail.com>> wrote:
>>
>> Hi all,
>>
>> I'm confused that should we specify `KillMode=control-group`
>> & `delegate=true` explicitly in mesos-slave.service when
>> using centos 7 after mesos version 0.25.0 ?
>>
>> thanks.
>>
>> --
>> Best Regards,
>> Chen, Qiang
>>
>>
>>
>>
>> --
>> Best Regards,
>> Haosdent Huang
>
> --
> Best Regards,
> Chen, Qiang
>
>
>
>
> --
> Best Regards,
> Haosdent Huang
--
Best Regards,
Chen, Qiang