Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #171994 > unrolled thread
| Started by | mo <mo777@gmx.net> |
|---|---|
| First post | 2016-09-10 19:10 +0200 |
| Last post | 2016-09-11 15:30 +0200 |
| Articles | 5 — 2 participants |
Back to article view | Back to linux.debian.user
A few questions about cgroups in Debian 8 (Jessie) mo <mo777@gmx.net> - 2016-09-10 19:10 +0200
Re: A few questions about cgroups in Debian 8 (Jessie) mo <mo777@gmx.net> - 2016-09-10 19:20 +0200
Re: A few questions about cgroups in Debian 8 (Jessie) Nicolas George <george@nsup.org> - 2016-09-10 19:20 +0200
Re: A few questions about cgroups in Debian 8 (Jessie) mo <mo777@gmx.net> - 2016-09-11 12:20 +0200
[Solved] Re: A few questions about cgroups in Debian 8 (Jessie) mo <mo777@gmx.net> - 2016-09-11 15:30 +0200
| From | mo <mo777@gmx.net> |
|---|---|
| Date | 2016-09-10 19:10 +0200 |
| Subject | A few questions about cgroups in Debian 8 (Jessie) |
| Message-ID | <sfTWV-30i-1@gated-at.bofh.it> |
Hello fellow Debian users :) First off, some general information regarding my Debian install: $ lsb_release -a Distributor ID: Debian Description: Debian GNU/Linux 8.5 (jessie) Release: 8.5 Codename: jessie Now to my problems: I'm currently looking into cgroups. (Planning to use them on my server to limit resources for my users) I'm a little confused though.. I have installed the following three packages: ii cgroup-bin 0.41-6 all control and monitor control groups (transitional package) ii cgroup-tools 0.41-6 amd64 control and monitor control groups (tools) ii libcgroup1:amd64 0.41-6 amd64 control and monitor control groups (library) ..But i don't seem to find the cgconfig.conf file which should be located under /etc.. I did however find a example cgconfig.conf: "/usr/share/doc/cgroup-tools/examples/cgconfig.conf" (Found in the cgroup-tools package) My question is if i can simply use the example file for my running system, or is there something that i need to tweak/configure to make it work? I sadly also was unable to find much resources about cgroups in Debian. Is there maybe something i overlooked? Can you guys give me a hint? Should i even attempt to manage cgroups this way? (Sorry, this must sound quite "noobish") Thank you all in advance :) greets mo
[toc] | [next] | [standalone]
| From | mo <mo777@gmx.net> |
|---|---|
| Date | 2016-09-10 19:20 +0200 |
| Message-ID | <sfU6B-33m-11@gated-at.bofh.it> |
| In reply to | #171994 |
> Le quintidi 25 fructidor, an CCXXIV, mo a écrit : >> Should i even attempt to manage cgroups this way? (Sorry, this must sound >> quite "noobish") > > Have you checked whether systemd can do the kind of control over users that > you want to? I know it uses cgroups intensively, so perhaps it already has a > nice interface to do exactly what you need. > Hello George :) I have not yet checked out the functionality systemd provides in that manner... I wanted to try to work with cgroups "directly" so to speak. Thanks for your reply, i will check out the functionality provided by systemd!
[toc] | [prev] | [next] | [standalone]
| From | Nicolas George <george@nsup.org> |
|---|---|
| Date | 2016-09-10 19:20 +0200 |
| Message-ID | <sfU6B-33m-9@gated-at.bofh.it> |
| In reply to | #171994 |
[Multipart message — attachments visible in raw view] — view raw
Le quintidi 25 fructidor, an CCXXIV, mo a écrit : > Should i even attempt to manage cgroups this way? (Sorry, this must sound > quite "noobish") Have you checked whether systemd can do the kind of control over users that you want to? I know it uses cgroups intensively, so perhaps it already has a nice interface to do exactly what you need.
[toc] | [prev] | [next] | [standalone]
| From | mo <mo777@gmx.net> |
|---|---|
| Date | 2016-09-11 12:20 +0200 |
| Message-ID | <sga1H-4Vu-7@gated-at.bofh.it> |
| In reply to | #171994 |
I have found a Fedora guide to cgroups (I know this is Debian.. but i could really not find anything specific to Debian) They mention that there is a cgconfig service for systemd.. My problem is that i could not find a equivalent service for my Debian system. Listing all the units with "systemctl list-units" did not show anything regarding cgroups specifically... Maybe i'm blind but i don't seem to find any information. (Sorry if i totally overlooked something) Any help would be greatly appreciated. Thank you all ;)
[toc] | [prev] | [next] | [standalone]
| From | mo <mo777@gmx.net> |
|---|---|
| Date | 2016-09-11 15:30 +0200 |
| Subject | [Solved] Re: A few questions about cgroups in Debian 8 (Jessie) |
| Message-ID | <sgcZz-6F5-1@gated-at.bofh.it> |
| In reply to | #171994 |
Hello Debian users :) I have googled a little bit and came to the conclusion that cgroups should be managed with systemd. (Thanks to Nicolas George for the systemd hint :^) ) For anyone who is interested here is a good guide from RedHat about resource management with cgroups and systemd: PDF: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/pdf/Resource_Management_Guide/Red_Hat_Enterprise_Linux-7-Resource_Management_Guide-en-US.pdf Single page html: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html-single/Resource_Management_Guide/index.html Have a nice day guys ;) best regards mo
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web