Serge:
> Will it use the same name every time? Will it eventually go away?
I don’t' know but I expect it will get some ID which represents the file
reference on the NFS server. And it "disappear" (, i.e. it will be deleted in
the normal way), if the filehandle is closed. Other NFS clients will
Hello All,
I have designed an algorithm of how to schedule different traffic from three
linux containers to be transmitted to one receiver. I need help of how and
where to implement it in linux containers. Should I modify the cgroups? if
not where else should I go to implement my algorithm.
Thank
Quoting Didi (siyana...@gmail.com):
> Hello All,
>
> I have designed an algorithm of how to schedule different traffic from three
> linux containers to be transmitted to one receiver. I need help of how and
> where to implement it in linux containers. Should I modify the cgroups? if
> not where el
Quoting Michael H. Warfield (m...@wittsend.com):
> So, all of this has led Serge to list me on the roster for the
> LinuxPlumbers conference as the LXC "systemd expert". I'll get even
> with him later next week for that one...
Lol! Buy you a beer thu night? :)
-serge
--
On Mon, Sep 16, 2013 at 02:54:44PM -0400, S.Çağlar Onur wrote:
> On Mon, Sep 16, 2013 at 2:39 PM, Stéphane Graber wrote:
>
> > On Mon, Sep 16, 2013 at 02:26:47PM -0400, S.Çağlar Onur wrote:
> > > get_ips accepts an interface name as a parameter but there was no
> > > way to get the interfaces name
Hi Stéphane,
On Mon, Sep 16, 2013 at 3:04 PM, Stéphane Graber wrote:
> On Mon, Sep 16, 2013 at 02:54:44PM -0400, S.Çağlar Onur wrote:
> > On Mon, Sep 16, 2013 at 2:39 PM, Stéphane Graber >wrote:
> >
> > > On Mon, Sep 16, 2013 at 02:26:47PM -0400, S.Çağlar Onur wrote:
> > > > get_ips accepts an i
- add ability to run for multiple iterations
- can also run non-threaded for comparison to threaded case
Signed-off-by: Dwight Engen
---
Hi Guys,
Serge I hope you don't mind I changed this to use getopt since there
are a couple of things I'm using it for at the moment (ie. fixing up
the fd leaks
On Mon, 16 Sep 2013 15:59:45 -0400
Stéphane Graber wrote:
> On Mon, Sep 16, 2013 at 02:58:51PM -0500, Serge Hallyn wrote:
> > Quoting Serge Hallyn (serge.hal...@ubuntu.com):
> > > pthread_mutex_lock() will only return an error if it was set to
> > > PTHREAD_MUTEX_ERRORCHECK and we are recursively
Signed-off-by: Dwight Engen
---
.gitignore | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.gitignore b/.gitignore
index 0061609..84c060f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -105,6 +105,9 @@ config/lt*.m4
doc/*.1
doc/*.5
doc/*.7
+doc/ja/*.1
+doc/ja/*.5
+doc/ja/*.7
doc/legacy/*.
Branch: refs/heads/staging
Home: https://github.com/lxc/lxc
Commit: 72899b34f167e859edfd3b1c60a97ccf41a48cff
https://github.com/lxc/lxc/commit/72899b34f167e859edfd3b1c60a97ccf41a48cff
Author: Dwight Engen
Date: 2013-09-16 (Mon, 16 Sep 2013)
Changed paths:
M .gitignore
get_ips accepts an interface name as a parameter but there was no
way to get the interfaces names from the container. This patch
introduces a new get_interfaces call to the API so that users
can obtain the name of the interfaces.
Signed-off-by: S.Çağlar Onur
---
src/lxc/lxccontainer.c | 117
pthread_mutex_lock() will only return an error if it was set to
PTHREAD_MUTEX_ERRORCHECK and we are recursively calling it (and
would otherwise have deadlocked). If that's the case then log a
message for future debugging and exit. Trying to "recover" at
that point is madness.
Signed-off-by: Serg
So, the basic lxc-test-concurrent now passes for me with both
busybox and ubuntu templates. That's because the daemonized
starts are mutexed from each other just fine. However, I expect
to see problems if we did start in parallel with things like wait.
(I'll play around)
-serge
---
On Mon, Sep 16, 2013 at 04:25:38PM -0400, Dwight Engen wrote:
> Signed-off-by: Dwight Engen
Acked-by: Stéphane Graber
> ---
> .gitignore | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/.gitignore b/.gitignore
> index 0061609..84c060f 100644
> --- a/.gitignore
> +++ b/.gitignore
>
On Mon, Sep 16, 2013 at 02:26:47PM -0400, S.Çağlar Onur wrote:
> get_ips accepts an interface name as a parameter but there was no
> way to get the interfaces names from the container. This patch
> introduces a new get_interfaces call to the API so that users
> can obtain the name of the interfaces
Branch: refs/heads/staging
Home: https://github.com/lxc/lxc
Commit: beb6d93ee2b449ae2ea53125be2f198d15d8f8e8
https://github.com/lxc/lxc/commit/beb6d93ee2b449ae2ea53125be2f198d15d8f8e8
Author: Dwight Engen
Date: 2013-09-16 (Mon, 16 Sep 2013)
Changed paths:
M src/tests/con
Branch: refs/heads/staging
Home: https://github.com/lxc/lxc
Commit: 4d7bcfb638c5c4907e8539aa09d41bb1de08a097
https://github.com/lxc/lxc/commit/4d7bcfb638c5c4907e8539aa09d41bb1de08a097
Author: Serge Hallyn
Date: 2013-09-16 (Mon, 16 Sep 2013)
Changed paths:
M templates/lxc
On Mon, Sep 16, 2013 at 02:58:51PM -0500, Serge Hallyn wrote:
> Quoting Serge Hallyn (serge.hal...@ubuntu.com):
> > pthread_mutex_lock() will only return an error if it was set to
> > PTHREAD_MUTEX_ERRORCHECK and we are recursively calling it (and
> > would otherwise have deadlocked). If that's th
Quoting Serge Hallyn (serge.hal...@ubuntu.com):
> pthread_mutex_lock() will only return an error if it was set to
> PTHREAD_MUTEX_ERRORCHECK and we are recursively calling it (and
> would otherwise have deadlocked). If that's the case then log a
> message for future debugging and exit. Trying to
pthread_mutex_lock() will only return an error if it was set to
PTHREAD_MUTEX_ERRORCHECK and we are recursively calling it (and
would otherwise have deadlocked). If that's the case then log a
message for future debugging and exit. Trying to "recover" is
nonsense at that point.
process_lock() was
Michael,
Considering your substantial existing work, if you'd post on github,
I'd we willing to fork and contribute in that manner (of course, also
opens up ways for others to contribute).
I'd create the original repo myself except that your work should be
credited by you (and contributions manage
On Mon, Sep 16, 2013 at 2:39 PM, Stéphane Graber wrote:
> On Mon, Sep 16, 2013 at 02:26:47PM -0400, S.Çağlar Onur wrote:
> > get_ips accepts an interface name as a parameter but there was no
> > way to get the interfaces names from the container. This patch
> > introduces a new get_interfaces call
get_ips accepts an interface name as a parameter but there was no
way to get the interfaces names from the container. This patch
introduces a new get_interfaces call to the API so that users
can obtain the name of the interfaces.
Support for python bindings also introduced as a part of this versio
There are fd leaks in lxc_cgroup_load_meta2() in particular in the success
case. This change attempts to ensure resources are free'd/close'd, but it
is possible there are still some error cases where leaks occur.
Signed-off-by: Dwight Engen
---
Hi Christian,
These changes fix problems I was seei
Don't worry about saved_errno since none of the *_free routines will set it
Signed-off-by: Dwight Engen
---
src/lxc/cgroup.c | 18 ++
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/src/lxc/cgroup.c b/src/lxc/cgroup.c
index 101998b..bf7a2a2 100644
--- a/src/lxc/cgr
Quoting Dwight Engen (dwight.en...@oracle.com):
> - add ability to run for multiple iterations
> - can also run non-threaded for comparison to threaded case
>
> Signed-off-by: Dwight Engen
Acked-by: Serge E. Hallyn
> ---
> Hi Guys,
>
> Serge I hope you don't mind I changed this to use getopt
Hey everyone,
So I just went through everything the other track leads accepted over
the past couple of weeks and split the remaining time as well as
(unfortunately) reduced some of the current time allocation for some of
the talks.
Basically anyone who didn't directly ask for more, now got a 15mi
Quoting Dwight Engen (dwight.en...@oracle.com):
> There are fd leaks in lxc_cgroup_load_meta2() in particular in the success
> case. This change attempts to ensure resources are free'd/close'd, but it
> is possible there are still some error cases where leaks occur.
>
> Signed-off-by: Dwight Engen
Quoting Qiang Huang (h.huangqi...@huawei.com):
> On 2013/9/16 12:23, Stéphane Graber wrote:
> > On Mon, Sep 16, 2013 at 11:37:02AM +0800, Qiang Huang wrote:
> >> Sometimes we use:
> >> lxc-create -n xxx -f config
> >> to copy config to the default lxcpath with the rootfs already
> >> exist.
> >> Bu
On 2013/9/17 11:27, Serge Hallyn wrote:
> Quoting Qiang Huang (h.huangqi...@huawei.com):
>> On 2013/9/16 12:23, Stéphane Graber wrote:
>>> On Mon, Sep 16, 2013 at 11:37:02AM +0800, Qiang Huang wrote:
Sometimes we use:
lxc-create -n xxx -f config
to copy config to the default lxcpath
30 matches
Mail list logo