Dhaval Giani wrote: > [Please don't drop the list from the copy. Please don't top post] > > On Wed, May 27, 2009 at 10:07:16AM -0700, Larry Brigman wrote: > >> I commented on the changes that I made. >> We were seeing that the last echo of the start script always (at least >> in our case) to exit with a non-zero >> status. I believe that this is the tid of the ps command that is >> getting the tid list to be processed. >> >> > > Can you please confirm if the second cgconfig start actually loads the > cgroupfs? In my testing here, thta itself did not happen. > > If you can send me the following > > cat /proc/mounts > service cgconfig start > cat /proc/mounts > service cgconfig stop > cat /proc/mounts > service cgconfig start > cat /proc/mounts > > I am not sure how the -p to move the tasks into the default cgroup > helps. That -p should really not be required since we should have > already created those directories whie loading the configuration. > > Thanks, > Also note that we removed the test for $? == 0 because of error of echo. It doesn't fully fix the problem. Slight change to the requested commands. I don't have your patch in yet with this.
[r...@sweng200 ~]# cat /proc/mounts | grep cg [r...@sweng200 ~]# service cgconfig start [r...@sweng200 ~]# cat /proc/mounts | grep cg cgroup /cgroup cgroup rw,memory 0 0 [r...@sweng200 ~]# service cgconfig stop sed: couldn't flush stdout: No such process rmdir: ./sysdefault: Device or resource busy [r...@sweng200 ~]# cat /proc/mounts | grep cg [r...@sweng200 ~]# service cgconfig start [r...@sweng200 ~]# cat /proc/mounts | grep cg cgroup /cgroup cgroup rw,memory 0 0 ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Libcg-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libcg-devel
