memory.use_hierarchy
It should be "1" and that should then ensure that memory consumption in child cgroups count towards the limit of their parent.