[lxc-users] Containers losing IP/Network
Alan Hoffmeister
alanhoffmeister at gmail.com
Thu Feb 5 16:25:16 UTC 2015
Where can I possibly locate a log file from the LXC's network manager?
--
Alan Hoffmeister
https://twitter.com/alan_hoff
https://github.com/alanhoff
https://keybase.io/alanhoff
2015-02-05 14:19 GMT-02:00 Joris Michaux <joris.michaux at france-pari.org>:
> Hello,
>
> Same problem here. Have to service networking restart into the container
> to get it working.
>
> Regards,
> Joris
>
> On 05/02/2015 17:12, Alan Hoffmeister wrote:
>> Hello folks,
>>
>> I have some containers running ubuntu 14.01, but some times when I try
>> to lxc-start a container, or create more containers, the network
>> starts to behave strangely, some time a random container loses it's
>> IP/network, some times all of them loses IP/network.
>>
>> This is a picture from my lxc-ls -f, as you can see I have containers
>> RUNNING with no IP
>> http://i.imgur.com/LIKXTe9.png
>>
>> This is the command that I use to create containers:
>> lxc-create -n alabrunet -t ubuntu -B zfs
>>
>> And this is some extra config that I put on each container's config file
>> # Hardware limitations
>> lxc.cgroup.memory.limit_in_bytes = 1000000000
>> lxc.cgroup.memory.soft_limit_in_bytes = 800000000
>> lxc.cgroup.cpu.shares = 100
>> lxc.cgroup.cpuset.cpus = 1
>> lxc.cgroup.blkio.weight = 500
>>
>> The only thing that changes between configs is the
>> lxc.cgroup.cpuset.cpus, I pick a core between 0 and 3.
>>
>> --
>> Alan Hoffmeister
>> https://twitter.com/alan_hoff
>> https://github.com/alanhoff
>> https://keybase.io/alanhoff
>> _______________________________________________
>> lxc-users mailing list
>> lxc-users at lists.linuxcontainers.org
>> http://lists.linuxcontainers.org/listinfo/lxc-users
>>
>
>
> --
> *Joris MICHAUX*
> Ingénieur systèmes et réseaux
> *Skype:* h4mm3r.toxyc
> ----
> 425, rue Jean Rostand
> 31670 Labège, France
> *Tel:* +33 (0)5 82 08 07 31
> www.france-pari.fr - www.sportnco.com
> ----
> *Social:*
> [facebook]
> https://www.facebook.com/pages/France-Pari/
> [twitter]
> https://twitter.com/FrancePari
> [linkedin]
> http://www.linkedin.com/company/france-pari
> [scoop.it]
> http://www.scoop.it/t/paris-sportifs-1
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
More information about the lxc-users
mailing list