Hi,

Dhaval Giani wrote:
> Hi,
>
> Annoucing v0.36.2.rc

just tried this version and it fails to parse my formerly working
cgconfig.conf. Indeed, any 0.36* version fails, while 0.34 and 0.35
work fine. But from the manpage I can't figure out what has changed.

My cgconfig.conf:
mount {
       cpuset = /dev/cgroup/cpuset;
       memory = /dev/cgroup/memory;
} 

group applications {
    cpuset {
      cpuset.cpus = 0-3;
      cpuset.mems = 0-1;
    }

    memory {
      memory.limit_in_bytes=7.5G;
    }
}

group applications/abgabe {
    cpuset {
      cpuset.cpus = 2-3;
      cpuset.mems = 0-1;
    }

    memory {
      memory.limit_in_bytes=6G;
    }
}

The error:
sunserver1# cgconfigparser -l /etc/cgconfig.conf
Loading configuration file /etc/cgconfig.conf failed
No such file or directory

stracing show that "applications" is removed again and thus accessing
applications/abgabe fails:

...
open("/dev/cgroup/memory/.//tasks", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0666) = 
4
open("/dev/cgroup/memory/applications/tasks", O_RDONLY|O_CLOEXEC) = 5
fstat(5, {st_mode=S_IFREG|0775, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f732fef4000
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x7f732fef4000, 4096)            = 0
rmdir("/dev/cgroup/memory/applications/") = 0
close(4)                                = 0
stat("/dev/cgroup/cpuset/applications/abgabe/", 0x7fffa0162720) = -1 ENOENT (No 
such file or directory)
...

Is this a bug or what else have I missed that must be changed in the
config?

Thanks!
cu,
Frank



-- 
Dipl.-Inform. Frank Steiner   Web:  http://www.bio.ifi.lmu.de/~steiner/
Lehrstuhl f. Bioinformatik    Mail: http://www.bio.ifi.lmu.de/~steiner/m/
LMU, Amalienstr. 17           Phone: +49 89 2180-4049
80333 Muenchen, Germany       Fax:   +49 89 2180-99-4049
* Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Libcg-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to