cgroups Questions

1

I recently did some research again, and stumbled upon this. Before crying about it to the OpenJDK team, I wanted to see if anyone else has observed this, or disagrees with my conclusions. So, it's...
Tiberius asked 9/1, 2020 at 10:12

3

Solved

I recently started learning docker and it seems that most of the heavy lifting is done by the Linux kernel, using namespaces and cgroups. A few things which I am finding confusing are: What is the...
Hardtop asked 15/1, 2016 at 21:57

2

Solved

I'm using cgget -n --values-only --variable memory.limit_in_bytes / inside a Docker container to see how much memory it is allowed to use as per docker run --memory=X. However, I need to know wheth...
Alternator asked 5/1, 2016 at 16:34

1

I need to run real time applications on Ubuntu RT Linux and was reading about ways to make linux act as RT system and I learned two ways to do it preemptive_rt kernel patching enabling CONFIG_RT_...
Hospitalet asked 17/5, 2019 at 15:44

1

I'm using centos6/7 and using cgroup to manage cpu resources. I have read through the RHEL document but have no answer to my question below: If I set both cfs_quota_us and shares among cgroups, th...
Tails asked 29/4, 2019 at 10:4

2

Solved

I'm running a Java program inside a Docker container that has a hard memory limit of 4GB. I've set the max heap to 3GB but still the Java program exceeds the limit and gets killed (OOMKilled). My ...
Wivinah asked 27/8, 2018 at 13:53

1

Solved

This is in reference to https://docs.docker.com/config/containers/resource_constraints/#limit-a-containers-access-to-memory. I have already created working containers, running Docker version 18.05....
Iodometry asked 9/7, 2018 at 23:10

2

Solved

UPDATE: found a lot of questions and discussions on stackoverflow about this topic. And although they are marked as accepted answered and started by thousands of users, they do not seem to be the ...
Smyth asked 21/2, 2018 at 23:44

1

Solved

I've been running Kafka on Kubernetes without any major issue for a while now; however, I recently introduced a cluster of Cassandra pods and started having performance problems with Kafka. Even t...
Polypetalous asked 4/2, 2018 at 15:52

2

Solved

My current configs are: > cat /proc/sys/vm/panic_on_oom 0 > cat /proc/sys/vm/oom_kill_allocating_task 0 > cat /proc/sys/vm/overcommit_memory 1 but when I run a task, it's killed a...
Rapier asked 4/3, 2016 at 8:37

2

i have a question regarding cgroups, especially considering isolation. Wikipedia states, that you can use cgroups to isolate groups, so that there are "separate namespaces for groups, so they don'...
Blown asked 14/1, 2013 at 18:2

1

Solved

Consider the following, which runs sleep 60 in the background and then exits: $ cat run.sh sleep 60& ps echo Goodbye!!! $ docker run --rm -v $(pwd)/run.sh:/run.sh ubuntu:16.04 bash /run.sh P...
Candescent asked 28/9, 2016 at 6:33

2

Solved

The resource limit of Pod has been set as: resource limit cpu: 500m memory: 5Gi and there's 10G mem left on the node. I've created 5 pods in a short time successfully, and the node maybe sti...
Anton asked 25/2, 2016 at 6:51

2

Solved

I am using docker to containerize bunch of services. Some times, containerized services heavily swaps. I've changed vm.swappiness to 1 via sysctl on my host system. But docker's memory cgroup still...
Wurst asked 10/9, 2014 at 13:51

3

I've applied a cgroups rule to a specific user, and I'd like to test whether memory of the programs running from the above user has been limited as expected. I tried with the following script: imp...
Marinmarina asked 28/5, 2015 at 14:21

3

What is the difference between KVM and Linux Containers (LXCs)? To me it seems, that LXC is also a way of creating multiple VMs within the same kernel if we use both "namespaces" and "control group...
Discriminating asked 14/12, 2013 at 0:1

1

We use cgroup limit procedure use more resource。 but,when Memory is more than limit in cgroup,it will kill process。 Why cgroup’s memory subsystem use oom-killer instead of return memory allocation ...
Floruit asked 12/12, 2014 at 8:50

1

I am getting this warning from 'sudo docker -d': WARNING: Your kernel does not support cgroup swap limit. even after following the steps (as in this link): modify below lines in /etc/default...
Marlyn asked 3/3, 2015 at 18:6

1

Solved

I am trying to use cgroups in order to limit the CPU usage. I am using this guide https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Resource_Management_Guide/sec-cpu_an...
Shortcircuit asked 2/3, 2015 at 15:54

1

I am trying to modify the real-time runtime parameter of a docker container process within a cgroup. I am following this tutorial: http://www.breakage.org/2014/08/22/using-sched_fifo-in-docker-cont...
Lian asked 13/2, 2015 at 5:51

1

I tried the example from the cpuset(7) manual and created a cpuset Charlie. On both Ubuntu 14.4 LTS and SLES 12 I get the following error when trying to put the current process into the cpuset: /d...
Declarative asked 5/2, 2015 at 16:6

1

Solved

I am new to cgroup. I want to use cgroup to bind Qemu to some CPUs. I am working on Ubuntu 12.04.3 with my own compiled kernel 3.11.0+. Below is some output of my commands. root@xiao-laptop:~/taml...
Incur asked 13/12, 2014 at 2:17

1

Solved

I'm trying to set absolute limits on Docker container CPU usage. The CPU shares concept (docker run -c <shares>) is relative, but I would like to say something like "let this container use at...
Sideboard asked 13/10, 2014 at 21:2

3

I am running tor on a small OpenWRT router, where swapping can't be avoided due to the limited amount of ram available (32mb). Most of the time the router doesn't do anything else, however from t...
Canonize asked 20/8, 2014 at 12:25

1

Solved

Is there any way to use LXC for resource management using process groups without creating containers? I am working on a service that runs arbitrary code inside a sandbox, for which I am only intere...
Mixologist asked 21/11, 2012 at 1:16

© 2022 - 2024 — McMap. All rights reserved.