You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by Egor Ryashin <eg...@metamarkets.com> on 2017/04/07 21:20:47 UTC

Child process constraints

Hi all,

Could someone share knowledge whether a child process of the launched task has the same resource constraints?
For example a task specifies 0.3 cpu, does its child process gets also 0.3 cpu or both processes get 0.15 cpu? 

Thanks

Re: Child process constraints

Posted by Gabriel Hartmann <ga...@mesosphere.io>.
They're both in the same cgroup.  In fact the Executor is the unit of
isolation.

On Fri, Apr 7, 2017 at 2:21 PM Egor Ryashin <eg...@metamarkets.com>
wrote:

> Hi all,
>
> Could someone share knowledge whether a child process of the launched task
> has the same resource constraints?
> For example a task specifies 0.3 cpu, does its child process gets also 0.3
> cpu or both processes get 0.15 cpu?
>
> Thanks