Displaying 20 results from an estimated 100 matches similar to: "how to limit cpu usage for specified processes"
2016 Mar 17
3
NetworkManager default route
Hello,
Why is it so, that NetworkManager allows, and in several cases I've had,
defaults to setting default route to several interfaces at the same time?
Had my fair share of problems with how 172.17.62.something interface
tries to ask for a DHCP lease from 193.something network. I know I could
set never-default to the interfaces, but I shouldn't have to do it to
every machine I had.
2015 Dec 21
4
Extending a CentOS disk without reboot
Hello,
Today a virtual server under my administration ran out of disk space, so
I had to get extra space to it.. while it was running, because it's an
important web server without any kind of HA/Load Balancing (don't do
that, kids).
So what happened, is that after another administrator had extended the
disk from VMWare, I tried to extend it from the OS side.
Everything went well,
2016 Sep 07
0
how to limit cpu usage for specified processes
Hello,
You could do it with Cgroups, if your specified processes run or can be
made to run in group permissions.
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Resource_Management_Guide/sec-cpu_and_memory-use_case.html
Regards,
--
Sander Kuusemets
University of Tartu, High Performance Computing, IT Specialist
Skype: sander.kuusemets1
+372 737 5694
On
2015 Sep 24
1
Guest cpuacct counters and others location
Hi,
My piece of code ( C langage) uses cgroups to retrieve counters related to cpu and memory usage related to KVM guests hosted by the host where this code runs.
I noticed that depending on the O.S. running on the host , these counters are not found at the same location :
CentOS 7 :
ls /sys/fs/cgroup/cpuacct/machine.slice/machine-qemu\\x2drhel6.0.scope/vcpu0
cgroup.clone_children
2015 Oct 29
2
How to retrieve legacy cgroups location ?
Hi,
As told in "Control Groups Resource Management" libvirt page :
Legacy cgroups layout
Prior to libvirt 1.0.5, the cgroups layout created by libvirt was different from that described above, and did not allow for administrator customization. Libvirt used a fixed, 3-level hierarchy libvirt/{qemu,lxc}/$VMNAME which was rooted at the point in the hierarchy where libvirtd itself was
2016 Jan 07
1
Disabling IPv6 with NetworkManager
Hello,
Simple question, I'd like to know whether it's possible to disable IPv6
with NetworkManager only (over command line)?
I am aware of:
* echo "net.ipv6.conf.all.disable_ipv6 = 1" >
/etc/sysctl.d/disableipv6.conf
* sysctl -p
But doing it with NM would be way easier to remember.
Thanks!
--
Sander Kuusemets
University of Tartu, High Performance Computing, IT
2007 Sep 10
6
RSpec view spec writing problem (unable to generate url_for in RESTful resource link_to)
Thanks, first, to everyone who''s asked and answered questions on this list,
and to the creators of RSpec - it is all very helpful. I''ve searched the
mailing list, and had a couple 2hr googling sessions that didn''t help me
find an answer.
I''ve run into a problem getting my first non-trivial view spec to run. I
get an error when trying to generate a link_to()
2015 Nov 20
2
Cannot boot
I can boot from DVD. I deleted kernel. Thought it will fix the problem. Now
I can see rescue menu only.
Kernel source is there. How to get back kernel.
On Friday, November 20, 2015, Arun Khan <knura9 at gmail.com> wrote:
> On Fri, Nov 20, 2015 at 2:18 PM, Siva Prasad Nath
> <shivaprasadnath21 at gmail.com <javascript:;>> wrote:
> > Hi,
> > My server not able
2012 Aug 17
1
getCPUStats of a domain by a non-root user - libvirtError: Requested operation is not valid: cgroup CPUACCT controller is not mounted
Hello,
I'm trying to use libvirt as a non-root user to obtain statistics on the
CPU usage by VMs using the Python API. I'm performing basically the
following steps:
import libvirt
conn = libvirt.openReadOnly(None)
dom = conn.lookupByUUIDString('268e38ea-1bc7-41e4-c19e-8eff682e58e4')
dom.getCPUStats(True, 0)
However, they result in the following error:
libvir: QEMU Driver
2017 Aug 01
0
Gluster operations speed limit
Adding Mohit who is experimenting with cgroups has found some way to
restrict glustershd's CPU usage using cgroups. Mohit maybe you want to
share the steps we need to follow to apply cgroups only to glustershd.
Thanks.
Ravi
On 08/01/2017 03:46 PM, Alexey Zakurin wrote:
> Hi, community
>
> I have a large distributed-replicated Glusterfs volume, that contains
> few hundreds
2017 Aug 01
3
Gluster operations speed limit
Hi, community
I have a large distributed-replicated Glusterfs volume, that contains
few hundreds VM's images. Between servers 20Gb/sec link.
When I start some operations like healing or removing, storage
performance becomes too low for a few days and server load becomes like
this:
13:06:32 up 13 days, 20:02, 3 users, load average: 43.62, 31.75,
23.53.
Is it possible to set limit on
2015 Dec 24
1
Extending a CentOS disk without reboot
I did not do pvresize because neither "pvs" or "pvdisplay" reported to
have free space.
After reboot they did, after which doing pvresize worked successfully.
Sander Kuusemets
University of Tartu, High Performance Computing, IT Specialist
Skype: sander.kuusemets1
+372 737 5694
On 24/12/15 09:17, Gordon Messmer wrote:
> On 12/21/2015 11:15 AM, Sander Kuusemets wrote:
2012 Dec 13
1
RHEL6 cgroup error after a few days of uptime
I have a RHEL6 that hosts many kvm virtual machines. It has been
working fine for a couple years. I apply errata updates about once a
week.
In the last couple weeks, I've ran into a bug where the virtual
machines start failing to start with a cgroup error message. If I
reboot the host (very disruptive) then things start working normaly
for a few days.
Can I configure qemu/libvirt not to use
2015 Nov 20
3
Cannot boot
Hi,
My server not able to boot up. It is hanging after few times.
How to repair boot system? I am trying to use grub2-install. Is it
necessary to install grub2 on boot device?
Please help.
Thanks in advance.
--
Shiva Prasad Nath
92981134
2015 Jun 05
6
Effectiveness of CentOS vm.swappiness
Am 05.06.2015 um 00:23 schrieb Dennis Jacobfeuerborn:
> If I'd have to venture a guess then I'd say there are memory pages that
> are never touched by any processes and as a result the algorithm has
> decided that it's more effective to swap out these pages to disk and use
> the freed ram for the page-cache.
That's my guess too.
[...]
> impact. If however these
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
2015 Nov 20
1
Cannot boot
Thanks. How to create a live boot disk?
On Friday, November 20, 2015, Sander Kuusemets <sander.kuusemets at ut.ee>
wrote:
> You have to boot from a live boot disk, chroot into your old system's
> filesystem, mount all partitions properly and then download and rebuild the
> kernel and grub config. You can try just "yum install kernel" aswell, but
> I'm not sure
2016 Mar 17
0
NetworkManager default route
How about disabling network manager and using the static ip addresses?
Eero
17.3.2016 9.05 ip. "Sander Kuusemets" <sander.kuusemets at ut.ee> kirjoitti:
> Hello,
>
> Why is it so, that NetworkManager allows, and in several cases I've had,
> defaults to setting default route to several interfaces at the same time?
>
> Had my fair share of problems with how
2011 Oct 24
1
Hard limit for the cpu usage of a VM
Hi ,
I was previously using xen and currently moved to KVM. I am using libvirt to manage these VMs. In den's credit scheduler , I had the ability to set a cap on the cpu usage for a VM. But I was not able to find a similar substitute in KVM. I find that we can use cgroups to provide shares for VM but that will be more like weight based and it doesn't set a hard cap for that VM. I tried
2001 Oct 03
5
Could not connect to a Win3.1 share
Hello!
A problem: Samba (2.0) can log in to a Win31 share (I get a prompt), but
after that I obtain
smb: \> ls
Error: Looping in FIND_NEXT??
ERRSRV - ERRerror (Non-specific error code.) listing \*
51250 blocks of size 8192. 26860 blocks available
If I try to get some file that exists, I obtain
smb: \> get Anu.doc
Error opening local file Anu.doc
What could be the