Comment 6 for bug 1373862

Revision history for this message
Andrew Wilkins (axwalk) wrote :

Whether the dataset-size is changed or not, seems to me we should improve how we do LXC containers in Juju. I think this solution was talked about before:

- use lxcfs inside LXC containers, which would provide (among other things) a /proc/meminfo that respects the cgroup memory limit
- default LXC container memory limit to something smallish, and have it configurable via the "mem" constraint

If this is done, then I think it alleviates the main concern of mysql not working with LXC OOTB. It may still be the case that 80% is too much in general, but I think that's a separate concern.

(Caveat: I think lxcfs is only packaged for 15.04+?)