mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "y123456yz (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (MESOS-7813) when lxc run after a period of time, the file(/proc/pid/cgroup) is modified, devices,blkio,memory,cpuacct is changed. why?
Date Thu, 27 Jul 2017 02:38:00 GMT

    [ https://issues.apache.org/jira/browse/MESOS-7813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16101065#comment-16101065
] 

y123456yz edited comment on MESOS-7813 at 7/27/17 2:37 AM:
-----------------------------------------------------------

[~jvanremoortere]

thanks very much.

1. 
my lxc-start is started by my Executor, lxc-start running with"/usr/bin/lxc-start -f /xxx/config
-n xxx",  Executor running with "/usr/bin/Executor  xxxx", they started by command lines,
not through systemd service.

whther I should start my Executor and lxc by systemd service(add delegate=true)? now, I start
them by command lines, not by systemd service, as following:
/usr/bin/my-Executor -f xxx -d &
/usr/bin/lxc-start -f config -n xxx &

if must add "delegate=true", how to add "delegate=true" when I start my Executor  and lxc-start
by command lines.


2.
there have another problem, sometimes, when I restart mesos service, the lxc container stoped
automaticly.

thanks again, Joris Van Remoortere



was (Author: y123456yz):
[~jvanremoortere]

thanks very much.

there have another problem, sometimes, when I restart mesos service, the lxc container(lxc-start
is started by my Executor, lxc-start running with"/usr/bin/lxc-start -f /xxx/config -n xxx",
 Executor running with "/usr/bin/Executor  xxxx", they started not through systemd service)
stoped automaticly.

whther I should start my Executor and lxc by systemd service(add delegate=true)? now, I start
them by command lines, not by systemd service, as following:
/usr/bin/my-Executor -f xxx -d &
/usr/bin/lxc-start -f config -n xxx &

thanks again, Joris Van Remoortere


> when lxc run after a period of time, the file(/proc/pid/cgroup) is modified, devices,blkio,memory,cpuacct
is changed. why?
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MESOS-7813
>                 URL: https://issues.apache.org/jira/browse/MESOS-7813
>             Project: Mesos
>          Issue Type: Bug
>          Components: agent, cgroups, executor, framework
>         Environment: 1 SMP Wed Apr 12 15:04:24 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: y123456yz
>
> when lxc run after a period of time, the file(/proc/pid/cgroup) is modified, devices,blkio,memory,cpuacct
is changed. why?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message