[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libvirt-users
Subject:    [libvirt-users] Dynamically setting permanent memory  libvirt-lxc
From:       mallu mallu <mallu0987 () yahoo ! com>
Date:       2014-01-30 17:11:16
Message-ID: 1391101876.75237.YahooMailNeo () web120105 ! mail ! ne1 ! yahoo ! com
[Download RAW message or body]

I'm trying to permanently change memory allocation for a libvirt-lxc domain. So far I \
tried changing memory in memory.limit_in_bytes under \
/cgroup/memory/libvirt/lxc/<container>/.  This didn't help. It appears that libvirt \
is not reading changes in cgroup.

My requirements are 

1) Be able to dynamically change memory of a LXC domain without reboot
2) The memory change must survive LXC domain reboot.

Any help would be greatly appreciated


[Attachment #3 (text/html)]

<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, \
Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div>I'm \
trying to permanently change memory allocation for a libvirt-lxc domain. So far I \
tried changing memory in memory.limit_in_bytes under \
/cgroup/memory/libvirt/lxc/&lt;container&gt;/.&nbsp; This didn't help. It appears \
that libvirt is not reading changes in cgroup.<br></div><div>My requirements are \
<br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: \
HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; \
background-color: transparent; font-style: normal;">1) Be able to dynamically change \
memory of a LXC domain without reboot</div><div style="color: rgb(0, 0, 0); \
font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida \
Grande,sans-serif; background-color: transparent; font-style: normal;">2) The memory \
change must survive LXC  domain reboot.</div><div style="color: rgb(0, 0, 0); \
font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida \
Grande,sans-serif; background-color: transparent; font-style: normal;"><br></div><div \
style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica \
Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; \
font-style: normal;">Any help would be greatly appreciated<br></div><div \
style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica \
Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; \
font-style: normal;"><br></div></div></body></html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic