Displaying 20 results from an estimated 2000 matches similar to: "C group hierarchy and libvirtd"
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
2013 Mar 14
1
cgroups not working?
Hi,
I'm trying to use cgroups to limit the apache webserver but this doesn't
seem to work as far as I can tell.
I modified cgconfig.conf like this:
group webserver {
cpu {
cpu.shares="250";
}
}
and addes this to cgrules.conf:
*:httpd * webserver
Looking into the "webserver" cgroup shows that the pid's of
2014 Feb 09
3
libvirt/qemu and cgroups
Dear list,
I am building a Arch server on my Arch box.
My tools are QEMU/KVM and libvirt to manage the guest, systemd as
system manager.
I am looking at implementing the Linux Control Groups facilities for
resource management. Even after long hours of reading, I am not quite
sure about how to deal with the cgroups facilities.
First, do I really need to care about all that, or libvirt and
2014 Feb 15
2
lxc and cgroups
Dear list,
I am bulding a VM using libvirt and lxc for linux container. I have an
issue with my cgroups settings:
gabx@hortensia ➤➤ ~ # virsh start dahlia
error: Failed to start domain dahlia
error: internal error: No valid cgroup for machine dahlia
My environement:
Host : Arch Linux - systemd 208-11, libvirt 1.2.1-4
guest : Arch Linux , machine name : dahlia ,
/etc/libvirt/lxc/dahlia.xml ,
2011 May 06
0
kvm libvirt migration problem
Hi everyone:
I am new here
I am using kvm and libvirt on my Dell server. Now i am trying to migrate one
virtual machine from a physical server to another. However, I failed
everytime.
In virsh on physicalServer1, I typed:
virsh # migrate virtualmachine1 qemu+ssh://username at physicalServer2/system
error: operation failed: migration to 'tcp: physicalServer2:49163' failed:
migration
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
2014 Sep 15
2
cgroups inside LXC containers losts memory limits after some time
Hi all
I have CentOS Linux release 7.0.1406, libvirt 1.2.7 installed.
Just after create and start inside LXC container present cgroups.
Example for memory:
[root@ce7-t1 /]# ls -la /sys/fs/cgroup/memory/
total 0
drwxr-xr-x 2 root root 0 Sep 15 17:14 .
drwxr-xr-x 12 root root 280 Sep 15 17:14 ..
-rw-r--r-- 1 root root 0 Sep 15 17:14 cgroup.clone_children
--w--w--w- 1 root root 0 Sep 15
2011 Nov 01
1
auto-set /cgroup/*/libvirt/qemu/<vm name>/ directory permissions on creation
Is there a way to automatically set the permissions of cgroups directories
created by libvirt when a VM is launched?
Although it looks like I can set permissions on top-level /cgroup
directories via cgconfig.conf, the cgconfig.conf manpage says "Permissions
are related only to enclosing control group and are not inherited by
subgroups.". From this, I believe that when libvirt
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
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 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
2014 Feb 10
0
Re: libvirt/qemu and cgroups
On Mon, Feb 10, 2014 at 12:29:10AM +0100, arnaud gaboury wrote:
> Dear list,
>
> I am building a Arch server on my Arch box.
> My tools are QEMU/KVM and libvirt to manage the guest, systemd as
> system manager.
>
> I am looking at implementing the Linux Control Groups facilities for
> resource management. Even after long hours of reading, I am not quite
> sure about
2012 May 11
1
Permission issue with cgroups
Hello libvirt users,
I'm using the cgroup with QEMU guests. At /etc/libvirt/qemu.conf, I have
the following parameter:
cgroup_controllers = [ "cpu" ]
This controller is successfully mounted and libvirt is able to create
subgroups for each VM, it's really great the cgroups support in libvirt.
The problem is that I can only set the parameters of a given cgroup under
the cpu
2008 Apr 16
3
Can connect directly, but not browse samba server from Windows Workgroup network
Dear Samba gurus,
I have a Fedora 8 linux server, running samba 3.0.28a-0.fc8. I am
doing the simplest thing of all - exposing a public read-only share
within MS Workgroup environment. My server has a fixed local IP
address (192.168.1.200) and it's on the same subnet as the rest of the
machines. The server and machines are connected to a 24 port CISCO
switch.
My problem is that I can
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 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
2012 Dec 07
2
Assigning cases to groupings based on the values of several variables
Dear R-ers,
my task is to simple: to assign cases to desired groupings based on the
combined values on 2 variables. I can think of 3 methods of doing it.
Method 1 seems to me pretty r-like, but it requires a lot of lines of code
- onerous.
Method 2 is a loop, so not very good - as it loops through all rows of
mydata.
Method 3 is a loop but loops through fewer lines, so it seems to me more
2012 Nov 07
1
libvirt with lxc: internal error The 'cpuacct', 'devices' & 'memory' cgroups controllers must be mounted
Hi,
I'm running OpenStack to manage LXC instance through libvirt. The same
setting runs perfectly well on Ubuntu 12.04, while on CentOS 6u3, libvirt
dumped following message when starting lxc instance.
virsh -c lxc:/// start instance-00000032
error: internal error The 'cpuacct', 'devices' & 'memory' cgroups
controllers must be mounted
Really appreciated if
2011 Aug 31
1
formatting a 6 million row data set; creating a censoring variable
List,
Consider the following data.
gender mygroup id
1 F A 1
2 F B 2
3 F B 2
4 F B 2
5 F C 2
6 F C 2
7 F C 2
8 F D 2
9 F D 2
10 F D 2
11 F D 2
12 F D 2
13 F D 2
14 M A 3
15 M A 3
16 M A 3
17