Yes, I think it needs a new process for each request serving. <br><br>In overall, I have a web application, it receives the application scripts and execution requests from clients then try to execute it on the server side. So I think that each request is isolated and I want to try the ability to execute these requests in a sandbox environment.<br>
<br>Thanks.<br><br><div class="gmail_quote">On Thu, May 10, 2012 at 2:57 PM, Ben Butler-Cole <span dir="ltr"><<a href="mailto:ben@bridesmere.com" target="_blank">ben@bridesmere.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><div class="gmail_quote">On 10 May 2012 03:00, Đỗ Hoàng Khiêm <span dir="ltr"><<a href="mailto:dohoangkhiem@gmail.com" target="_blank">dohoangkhiem@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Ok, let suppose that I use a single
container handling multiple requests. So can you describe a right
strategy to serve many applications at same time, in my naive thinking, I
would invoke such command like "<span style="font-family:courier new,monospace">lxc-execute -n <i>my-lxc-name</i> <i>command_to_execute args</i></span>", but is it possible to execute it simultaneously, as I see that when I started a container, I can't run <span style="font-family:courier new,monospace">lxc-execute</span> for this container from host machine.<br>
</div></blockquote></div><br></div>Can you tell me a bit more about the application you are running? Do you need to create a new process for each request that you serve? Is there is a daemon process running somewhere which initially handles the requests and spawns the new processes?<span class="HOEnZb"><font color="#888888"><br>
<br>-Ben<br><br>
</font></span></blockquote></div><br>