Re: [Lxc-users] cgroups permission problem

2013-10-10 Thread Guido Jäkel
On 2013-10-10 17:44, Dwight Engen wrote: On Thu, 10 Oct 2013 09:03:36 -0500 Serge Hallyn serge.hal...@ubuntu.com wrote: John, are you perhaps running on an older kernel that doesn't have clone_children? lxc relies on this to propagate values down the heirarchy. Dear Serge, Dear Jon On my

Re: [Lxc-users] cgroups permission problem

2013-10-10 Thread Guido Jäkel
On 2013-10-10 18:34, John wrote: Guido, Serge Thank you for your insight. the parent, /cgroup/cpuset/lxc, has cpuset.cpus however it hasnt been initialized to any number. my hypothesis is /cgroup/cpuset/lxc/GE/cpuset.cpus therefore cannot be set as its parent hasnt been initialized.

Re: [Lxc-users] Bind mount point must be in container root?

2013-10-08 Thread Guido Jäkel
On 2013-10-08 19:07, Leonid Isaev wrote: So, would (mnt with a /) this work? - lxc.mount.entry = /mnt/raid/course_data /mnt/course_data none bind 0 0 - Dear Leonid, I would say no, this is outside the container. If the second path is a relative one, it's relative to the container

Re: [Lxc-users] LXC Debian Wheezy Template

2013-08-01 Thread Guido Jäkel
Dear list, in a private communication i recommend Daniel to use a more recent kernel than the conservative V3.2 shipped with Wheezy. He wrote me that this have solved the shutdown/reboot issue. I had have a similar problem and Serge explained me, that on a more recent kernel (=3.4?) lxc-start

Re: [Lxc-users] [Spam-Wahrscheinlichkeit=95]Re: Issues in using lxc in Fedora 14

2013-07-31 Thread Guido Jäkel
On 2013-07-31 12:15, Ajith Adapa wrote: Hi, Thanks everyone for the time to reply back. My only reason for using FEDORA14 is I am really uncomfortable with systemd which got added into FEDORA15 and above. I initially started up with FEDORA17 and ended up with issues in systemd which

Re: [Lxc-users] regarding lxc states available to lxc-monitor or lxc-wait usage

2013-05-09 Thread Guido Jäkel
*Say I have a container app and I want to know when it has finished some initialization task it would be great to be able to somehow utilize lxc-monitor or to use lxc-wait in a script that looked for my private state to be reported and then take some further action or initiate some other

Re: [Lxc-users] Packet forwarding performance drop with 1000 containers

2013-04-23 Thread Guido Jäkel
Dear Benoit, there's a lot of local matching and translation between layer2 and layer3 in your case. I wounder if it is related to the apr cache size and garbage parameters. I found [http://linux.die.net/man/7/arp]: gc_interval (since Linux 2.2) How frequently the garbage collector for

Re: [Lxc-users] Networking fails sporadically in containers on ubuntu server 12.10

2013-04-03 Thread Guido Jäkel
Dear David, what's about the STP settings (espc. hello time and forwarding delay) of the involved Linux bridge(s) *and* on the external router(s)? You may e.g. post output of brctl showstp br0 Don't know if it's still up to date, but

Re: [Lxc-users] appropriate architecture for two sets of containers on one host

2013-03-12 Thread Guido Jäkel
Dear Mike, if your separate networks are already organized with VLANs externally, then you might use it (like me) in the following way: -{vlan-trunk}--[eth0]--+--[vlaNNN]--{vlanNNN}--[brNNN]--+--[veth.c1|eth0] |+--[veth.c2|eth0]

Re: [Lxc-users] Refreshing for 2013: LXC hiding container processes from Host/HN's 'ps'

2013-02-21 Thread Guido Jäkel
Dear Ian, to support your request in a convenience way, i recently drop in a small patch for the lxc-ps helper command. Using the LXC-aware frontend for ps, you're able to filter the ps output down to a (set of) named container or all of them. With the patch applied, you're now able to

Re: [Lxc-users] total RAM limit

2013-01-30 Thread Guido Jäkel
On 2013-01-31 07:41, Gary Ballantyne wrote: *# echo '64M' /sys/fs/cgroup/memory/lxc/memory.limit_in_bytes* # cat /sys/fs/cgroup/memory/lxc/memory.limit_in_bytes (return 67108864) Dear Gary, what's the value of '/sys/fs/cgroup/memory/lxc/'? If it's not '1', all cgroup settings in lxc will not

[Lxc-users] making container rebootable

2012-11-22 Thread Guido Jäkel
On 2012-11-22 15:19, Евгений Пермяков wrote: oHello! I'm running kubuntu 12.04 as host (and I'm not going to upgrade it for 1 year at the very least). I was able to successfully create and run container with gentoo (in fact, two of them). They start up and runs just find. However, I'm