Re: [libvirt-users] LXC Memory Limits wont work

2018-08-06 Thread Rene Pasing

On 06.08.2018 10:35, Daniel P. Berrangé wrote:

The 'free' command reports what is present in the host, which is distinct
from what's made available to the container. This isn't unique to libvirt
LXC containers - in fact any command that is runnning in a cgroup with
memory controller limits applied will see the same behaviour. Apps can't
assume that 'free' reflects the amount of memory that is available to
them. Instead they need to look at cgroups memory controller that they
are placed under (/proc/self/cgroups tells you where)
I think this is not completely true... I had a similiar problem in the 
past, and I could get it fixed by using e.g. this in the domains XML:


  
    4194304
    4194304
    4194304
  

`free` then reports the correct values. Maybe you can give that a try 
@Markus Raps? Of course make sure to check out the documentation[1] of 
these config elements to make sure you really want what they do.


Regards
Rene

[1] = https://libvirt.org/formatdomain.html#elementsMemoryTuning

___
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users

Re: [libvirt-users] Libvirt newer than 2.1.0 doesnt start up

2016-10-28 Thread Rene Pasing
On 10/28/2016 05:59 PM, Laine Stump wrote:
> Sigh. I am currently hanging my head in shame :-(
>
> See:
> https://www.redhat.com/archives/libvir-list/2016-October/msg01281.html
>
> My only excuse is that the task was too simple, and I've come to rely
> on reviewers too much so I was lazy and inattentive.
>
> Again, :-(

Just to give short feedback: I just applied your patch to the official
2.3.0 release, built it, installed it and yeah: That fixed my problem!
It works like a charm now.

Thank you very much :)

___
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users


Re: [libvirt-users] Libvirt newer than 2.1.0 doesnt start up

2016-10-22 Thread Rene Pasing
Hi all,

thanks so far for your time and ideas.

Please find the gdb output and also the debug-output of libvirt (as
requested by Michal Privoznik and Laine Stump) here:
https://paste.xinu.at/m-gPSHl/

On 10/19/2016 01:58 AM, Michal Privoznik wrote:
> Those "Network is already in use by interface virbr1" error messages
> worry me. Is the bridge active before you start libvirtd? If so we might
> be losing netowrk state XML (or fail to parse it) and thus think network
> is not started and because of autostart we try to start it again (which
> fails).
> [...]
> Before you start libvirt, are there any files under
> /var/run/libvirt/network/ ? If so, what's their content?

Laine was already correct about that, this error message only appears
when I manually try to restart libvirt after it already hung up. Maybe I
should've made that more clear. Additionaly, no, there are no files in
that directory, also I am pretty sure that I only got one instance of
libvirt running

According to the GDB log, the libvirt process is endlessly iterating
over [1]. Any ideas what could be wrong?

Thanks in advance
Regards
Rene

[1] =
https://github.com/libvirt/libvirt/blob/master/src/network/bridge_driver.c#L1420


___
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users


[libvirt-users] Libvirt newer than 2.1.0 doesnt start up

2016-10-17 Thread Rene Pasing
Hi all,

I have some problems with libvirt >2.1.0 (so 2.2.0 and 2.3.0): I have a
working environment using libvirt 2.1.0 with 1 domain (called "mail")
and one network (called "default6"), both are autostarted. I have no
problems with this environment using libvirt 2.1.0, everything works great.

But after (testwise) updating to libvirt 2.2.0 or 2.3.0, libvirt doesn't
start up anymore.

Some investigations showed that apparently my "default6" network is the
problem. Libvirt is starting correctly after disabling all autostarts.
When I then virsh' into the system daemon and type "net-start default6",
then nothing happens and that command just hangs infinitely.

Further information, relevant log entries and e.g. the used default6.xml
configuration file can be found here, as I first thought it would be a
configuration error from my side:
https://bbs.archlinux.org/viewtopic.php?pid=1653221

Do you maybe have an idea what could be going on? Or do you maybe need
more information, and if yes, which exactly?

Thanks in advance
Regards
Rene

___
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users