Re: Mesos Python Daemon Launch

2017-07-28 Thread Benjamin Mahler
This is generally not something we want users to do (i.e. leak something outside of their container). Mesos will kill all tasks in the cgroup if you're using cgroup isolation, so you would have to ensure the daemon escapes the cgroup. If you're using the posix isolation, you also need to be sure

Re: Mesos Python Daemon Launch

2017-07-21 Thread Chawla,Sumit
No i am not using docker container. the process is being launched directly on host Regards Sumit Chawla On Thu, Jul 20, 2017 at 10:56 PM, Timothy Chen wrote: > Are you using Docker containerizer or? > > Tim > > On Thu, Jul 20, 2017 at 10:50 PM, Chawla,Sumit

Re: Mesos Python Daemon Launch

2017-07-20 Thread Timothy Chen
Are you using Docker containerizer or? Tim On Thu, Jul 20, 2017 at 10:50 PM, Chawla,Sumit wrote: > Any clue on this one? > > The python daemon is getting launched in different session and process > group. Not sure why its getting killed when the mesos slave is

Re: Mesos Python Daemon Launch

2017-07-20 Thread Chawla,Sumit
Any clue on this one? The python daemon is getting launched in different session and process group. Not sure why its getting killed when the mesos slave is terminating the framework. Regards Sumit Chawla On Wed, Jul 19, 2017 at 4:24 PM, Chawla,Sumit wrote: > I am

Mesos Python Daemon Launch

2017-07-19 Thread Chawla,Sumit
I am using Mesos 0.27. I am launching a Python Daemon from spark task. Idea is that this Daemon should keep running even when the mesos framework shuts dowm. However, I am facing issues in keeping this Python Daeamon process alive. The process is getting killed as soon as Mesos framework is