similar to: cgroups inside LXC containers losts memory limits after some time

Displaying 20 results from an estimated 200 matches similar to: "cgroups inside LXC containers losts memory limits after some time"

2016 Mar 24
0
Re: /proc/meminfo
Hi all > Has anyone seen this issue? We're running containers under CentOS 7.2 > and some of these containers are reporting incorrect memory allocation > in /proc/meminfo. The output below comes from a system with 32G of > memory and 84GB of swap. The values reported are completely wrong. yes, it's occured time to time on our installations. Centos 7.2 + libvirt 1.2.18 and
2013 Aug 08
3
Re: libvirt possibly ignoring cache=none ?
On Thu, Aug 8, 2013 at 9:39 AM, Martin Kletzander <mkletzan@redhat.com> wrote: > At first let me explain that libvirt is not ignoring the cache=none. > This is propagated to qemu as a parameter for it's disk. From qemu's > POV (anyone feel free to correct me if I'm mistaken) this means the file > is opened with O_DIRECT flag; and from the open(2) manual, the O_DIRECT
2016 Mar 23
7
/proc/meminfo
Has anyone seen this issue? We're running containers under CentOS 7.2 and some of these containers are reporting incorrect memory allocation in /proc/meminfo. The output below comes from a system with 32G of memory and 84GB of swap. The values reported are completely wrong. # cat /proc/meminfo MemTotal: 9007199254740991 kB MemFree: 9007199224543267 kB MemAvailable: 12985680
2018 Dec 19
0
Cgroups : memory.limit_in_bytes and memory.usage_in_bytes includes file cache?
Hello All, We were under the assumption that Cgroups memory controller, limits memory based on just the RSS size of the process. However, i see that the process is getting killed even when the RSS size is very low compared to the limit in bytes. For example: cat memory.stat cache 85880266752 rss 2441216 rss_huge 0 mapped_file 8192 swap 0 pgpgin 29265847812 pgpgout 29244880354 pgfault
2018 Apr 04
4
memory cgroup max_usage_in_bytes question
hi all, can someone help explaining what we are seeing? it makes no sense to us. this is a host running centos 7.4 with 3.10.0-693.17.1 kernel, and it has 192GB of ram > [] free -b > total used free shared buff/cache available > Mem: 201402642432 14413479936 75642777600 48586752 111346384896 185689632768 > Swap: 21474832384 31961088
2014 Jan 30
2
Dynamically setting permanent memory libvirt-lxc
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
2013 Aug 09
0
Re: libvirt possibly ignoring cache=none ?
On 08/08/2013 05:03 PM, Brano Zarnovican wrote: > On Thu, Aug 8, 2013 at 9:39 AM, Martin Kletzander <mkletzan@redhat.com> wrote: >> At first let me explain that libvirt is not ignoring the cache=none. >> This is propagated to qemu as a parameter for it's disk. From qemu's >> POV (anyone feel free to correct me if I'm mistaken) this means the file >> is
2018 Apr 05
0
memory cgroup max_usage_in_bytes question
On 05/04/18 01:56, Stijn De Weirdt wrote: > hi all, > > can someone help explaining what we are seeing? it makes no sense to us. > this is a host running centos 7.4 with 3.10.0-693.17.1 kernel, and it > has 192GB of ram > >> [] free -b >> total used free shared buff/cache available >> Mem: 201402642432 14413479936
2018 Apr 04
0
memory cgroup max_usage_in_bytes question
Stijn De Weirdt wrote: > hi all, > > can someone help explaining what we are seeing? it makes no sense to us. > this is a host running centos 7.4 with 3.10.0-693.17.1 kernel, and it > has 192GB of ram > >> [] free -b >> total used free shared buff/cache >> available >> Mem: 201402642432 14413479936 75642777600
2019 Oct 28
1
libvirt_lxc memory limit, emulator process part of the cgroup?
hi, I am currently investigating a bug with libvirt lxc. Whenever I do a systemctl daemon-reload on the host, my container loses his memory limit and then reports having access to 8 exabyte of memory. I have tracked the issue down to two parts: memory.limit_in_bytes jumps from the correct value to 9223372036854771712. libvirt lxc appears to set the memory limit in transient way without writing
2013 Aug 07
2
libvirt possibly ignoring cache=none ?
Hi, I have an instance with 8G ram assigned. All block devices have cache disabled (cache=none) on host. However, cgroup is reporting 4G of cache associated to the instance (on host) # cgget -r memory.stat libvirt/qemu/i-000009fa libvirt/qemu/i-000009fa: memory.stat: cache 4318011392 rss 8676360192 ... When I drop all system caches on host.. # echo 3 > /proc/sys/vm/drop_caches # ..cache
2014 Jan 30
2
Re: Dynamically setting permanent memory libvirt-lxc
Eric, thank you for your response. Virsh memtune, setmaxmem and setmem won't survive a reboot. I'm hoping to find  a solution that can survive reboot.   On Thursday, January 30, 2014 11:36 AM, Eric Blake <eblake@redhat.com> wrote: On 01/30/2014 10:11 AM, mallu mallu wrote: > I'm trying to permanently change memory allocation for a libvirt-lxc domain. So far I tried
2014 Aug 11
1
Restriciting memory usage for samba using Cgroups
Hi Currently we are using cgroups to limit samba memory usage on our target we have limited the memory to 20MB and we are able to see samba is restricted to it. With this we are able to restrict the cache memory to ~34MB (never goes beyond this) BUt issue we arere facing is the Buffers are increasing gradually and it is not able to restrict. Commands Used to restrict memory on target: echo
2014 Dec 15
0
C group hierarchy and libvirtd
On Centos 6.4 x64,with libvirt-0.10.2-18.el6.x86_64 i am trying to set "memory.limit_in_bytes" for all qemu process. changed "cgconfig.conf" group mygroup{ perm { admin { uid = root; gid = root; } task { uid = qemu; gid = kvm;
2015 Oct 30
0
GUEST Memory statistics secret revealed ...
Hi, I'm wondering how to explain following metrics I got from libvirt, regarding memory stats for the two GUESTS running on my host. 1) virDomainGetXMLDesc() shows these values : memmax (1024000.000000) memcurrent(1024000.000000) memmax (2048000.000000) .memcurrent(2048000.000000) 2) As values returned by virDomainMemoryStats(), I got these values :
2018 Oct 15
0
Problems with qouta_clone plugin
You should add quota_clone to mail plugins. Aki On 15.10.2018 15:28, Christian Ejlertsen wrote: > Hello > > I'm having troubles getting the quota_clone plugin to work for me. > i?, trying to put the quota values into to to fields, messages and > usage_in_bytes, in the mysql database. > > The quotas are getting written to the maildirsize file and can be > updated
2018 Oct 15
0
Problems with qouta_clone plugin
On 15.10.2018 15:34, Christian Ejlertsen wrote: > On Mon, 2018-10-15 at 15:31 +0300, Aki Tuomi wrote: >> You should add quota_clone to mail plugins. >> >> Aki >> >> >> On 15.10.2018 15:28, Christian Ejlertsen wrote: >>> Hello >>> >>> I'm having troubles getting the quota_clone plugin to work for me. >>> i?, trying to
2018 Oct 15
2
Problems with qouta_clone plugin
Hello I'm having troubles getting the quota_clone plugin to work for me. i?, trying to put the quota values into to to fields, messages and usage_in_bytes, in the mysql database. The quotas are getting written to the maildirsize file and can be updated with the doveadm quota recalc -A or -u "*" command But i can't seem to get it to trigger the quota_clone plugin, not even an
2014 Dec 14
0
Difficulty configuring Cgroups on redhat/centos
Hello All, i am trying to set "memory.limit_in_bytes" for all process created by libvirt.But i am not able to achieve this on RHEL systems in Ubuntu servers creating memory cgroup for "libvirt-qemu" user solves the issue.But in case of RHEL system i tried to create a group by editing "cgconfig.conf" and then changing cgrules.conf and restarted cgconfig and
2014 Dec 17
0
Again with same Cgroup issue :)
Hello All, From the last couple of days i have been spamming this mailing list with request for configuring Cgroup with libvirtd on Centos systems. I still can not find a permanent solution to limit host RAM to particular value,tried creating a separate hierarchy "mykvm" and changed in sysconfig/libvirtd after that vm's memory cgroup reflects this.But it is