[Solved] Re: A few questions about cgroups in Debian 8 (Jessie)

2016-09-11 Thread mo

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



Re: A few questions about cgroups in Debian 8 (Jessie)

2016-09-11 Thread mo
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 ;)



Re: A few questions about cgroups in Debian 8 (Jessie)

2016-09-10 Thread mo

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!




Re: A few questions about cgroups in Debian 8 (Jessie)

2016-09-10 Thread Nicolas George
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.


signature.asc
Description: Digital signature


A few questions about cgroups in Debian 8 (Jessie)

2016-09-10 Thread mo

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 
 amd64control and monitor control groups (tools)
ii  libcgroup1:amd64 0.41-6 
 amd64control 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