Cannot set default-task-memory-limit


#1

If we give --default-task-memory-limit to concourse web, we hit the following error:

runc run: exit status 1: container_linux.go:348: starting container process caused “process_linux.go:402: container init caused \“process_linux.go:367: setting cgroup config for procHooks process caused \\“failed to write 2147483648 to memory.memsw.limit_in_bytes: open /sys/fs/cgroup/memory/garden/7c711fbf-8ec4-480f-63a1-79fdc9760f38/memory.memsw.limit_in_bytes: permission denied\\“\”"

But --default-task-cpu-limit= seems no problem. Is that a concourse bug?