You are not logged in.

#1 2012-12-20 09:15:35

sacarde
Member
Registered: 2006-07-14
Posts: 365

cgroups for "limit" some process

hi,
   what I have to do for limit memory use by a process?

- cgroups ?

- cgroups guide in wiki is uptodate?

- I have to install libcgroup ?




thanks for your suggestions

Offline

#2 2012-12-25 16:23:59

sacarde
Member
Registered: 2006-07-14
Posts: 365

Re: cgroups for "limit" some process

to set limit memory for any processes .... can I use cgroups running in arch?

Offline

#3 2012-12-27 15:55:22

sacarde
Member
Registered: 2006-07-14
Posts: 365

Re: cgroups for "limit" some process

I ask in chat freenode:

<MrElendig>    sacarde: systemd uses cgroups out of the box
<MrElendig>    sacarde: wikipage I bet it is horribly outdated and full or errors
...
<MrElendig>    sacarde: you don't need libcgroup to use cgroups
<MrElendig>    sacarde: 1. systemd uses cgroups out of the box, one per user
<MrElendig>    sacarde: 2. read the cgroups.txt in the kernel docs
...
<MrElendig>    sacarde: a little bit more work to do it by hand, but not much
<MrElendig>    sacarde: and if you want to enfoce cgroups, libcgroup is not enough anyway, you will have to rely on pam_cgroup.so or simlar

Offline

Board footer

Powered by FluxBB