Total RAM is incorrect in memory constrained LXC containers
Bug #1426173 reported by
Billy Olsen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql (Juju Charms Collection) |
New
|
Undecided
|
Unassigned | ||
percona-cluster (Juju Charms Collection) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
For the percona-cluster charm, the value for the innodb_
The charm determines the total memory for the system by checking /proc/meminfo, which isn't cgroup aware so it returns information for the host system rather than the the LXC container.
Note: a work around would be to set the value for the dataset-size or the innodb-
summary: |
- Calculations for Total RAM are incorrect in LXC containers + Total RAM is incorrect in memory constrained LXC containers |
To post a comment you must log in.
lxcfs[1] will solve it for vivid or later, not sure how for trusty though.
[1] https:/ /s3hh.wordpress .com/2015/ 02/23/introduci ng-lxcfs/