LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Cgroup - cgrulesengd - Slackware 13.37 Kernel (http://www.linuxquestions.org/questions/slackware-14/cgroup-cgrulesengd-slackware-13-37-kernel-4175426515/)

linuxxer 09-10-2012 08:20 AM

Cgroup - cgrulesengd - Slackware 13.37 Kernel
 
Slackers,

I was tring to configure CGroup on Slackware Linux 13.37.

It works well. But I found one problem while running /usr/sbin/cgrulesengd daemon.

cgrulesengd NOT reacting to new process as per configuration in /etc/cgrules.conf file. NOT adding process to expected cgroup.


While searching on Internet, I found one link.

http://us.generation-nt.com/answer/b...201684692.html

Slackware 13.37 kernel configuration:
Code:

CONFIG_CONNECTOR=m
If I change to:
Code:

CONFIG_CONNECTOR=y
CONFIG_PROC_EVENTS=y

So during compiling kernel, I used
Code:

[ ] General setup
  [x] Export task/process statistics through netlink
    [x] Enable per-task delay accounting
[ ] Device Drivers
  [ ] Connector - unified userspace <-> kernelspace linker
    [x] Report process events to userspace

With newly compiled kernel, without changing CGroup configuration files /etc/cgconfig.conf, /etc/cgrules.conf - /usr/sbin/cgrulesengd starts behaving properly.

Before that I tried
Code:

modprobe cn
But NO use.

Now, I am NOT having any problem with CGroup in Slackware 13.37.
I think kernel comes with Slackware must have these changes.


All times are GMT -5. The time now is 07:24 PM.