On Sun, Oct 12, 2014 at 02:01:06PM +0100, OmegaPhil wrote:
> On 12/10/14 00:54, Cameron Norman wrote:
> > Can you tell me what your systemd-shim and cgmanager versions are?
> 
> cgmanager: 0.32-4
> systemd-shim: 8-2

Same versions here.

I have added some debug to cgmanager and this is what I saw:
cgmanager: DEBUG move_pid_main: all - 
user.slice/user-1000.slice/session-c13.scope
cgmanager: DEBUG per_ctrl_move_pid_main: 31385, blkio - 
user.slice/user-1000.slice/session-c13.scope
cgmanager: DEBUG per_ctrl_move_pid_main: 31385, cpu - 
user.slice/user-1000.slice/session-c13.scope
cgmanager: DEBUG per_ctrl_move_pid_main: 31385, cpuacct - 
user.slice/user-1000.slice/session-c13.scope
cgmanager: DEBUG per_ctrl_move_pid_main: 31385, cpuset - 
user.slice/user-1000.slice/session-c13.scope
cgmanager: DEBUG per_ctrl_move_pid_main: 31385, devices - 
user.slice/user-1000.slice/session-c13.scope
cgmanager: DEBUG per_ctrl_move_pid_main: 31385, freezer - 
user.slice/user-1000.slice/session-c13.scope
cgmanager: DEBUG per_ctrl_move_pid_main: 31385, memory - 
user.slice/user-1000.slice/session-c13.scope

That means that when systemd-shim calls cgmanager to MovePid/MovePidAbs
it uses a special controller name "all". But it seems "all" doesn't
include some controllers -- for example "name=systemd".

Questions are:
1) Should cgmanager move pid to "name=systemd" when called with "all"
   controller?
2) Should systemd-shim call cgmanager with "all" and then with
   "name=systemd"?

-- 
Marcin Szewczyk                       http://wodny.org
mailto:[email protected]  <- remove b / usuĊ„ b
xmpp:[email protected]                  xmpp:[email protected]


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to