Hi Robert,

I also had similar problem but what I did as solution to this problem is, I
wrote simple c program and used a fork to create a new process and then
exec that process and used kill to stop that process and collected all the
pid of the process and used that pid to start the process again.

But the slight problem in this method is the sleep time is required i.e 5
to 6 sec after creating first container but solution to this problem is use
setsid to create new session rather than using the kill method used before.


These are two solution you can try.


Thanks & Regards,
Nishant Mungse
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to