Re: A problem with memory.oom_control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



于 2014/4/14 19:54, Kevin Wilson 写道:
> Hello,
> 
> First I hope this mailing list is the proper one for asking the
> following question:
> I do the following, as root,  on Fedora 20 with 3.12.7-300.fc20.x86_64 kernel:
> 
> create a cgroup called "0"
> /sys/fs/cgroup/memory/0
> 
> run:
> 
> echo "1" > /sys/fs/cgroup/memory/0/memory.oom_control
> bash: echo: write error: Invalid argument
> 
> Why am I having this error  ?
> 
> According to the documentation:
> 
> http://lxr.free-electrons.com/source/Documentation/cgroups/memory.txt
> this should work.
> 

Check if /sys/fs/cgroup/memory/memory/use_hierarchy is 1, if so the failure
is an expectecd bahavior.

"This operation is only allowed to the top cgroup of a sub-hierarchy."

--
To unsubscribe from this list: send the line "unsubscribe cgroups" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux