Reduce memory usage (better defaults and CI config)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Unassigned |
Bug Description
We keep running into RAM usage limitations in CI, but there's some services using a ton of memory that we don't even need, such as ceilometer in the undercloud:
[root@instack ~]# ps -eo size,pid,
0.00 Mb COMMAND
1523.11 Mb /usr/bin/python2 /usr/bin/
1435.20 Mb /usr/libexec/mysqld --basedir=/usr --datadir=
1225.60 Mb /usr/lib64/
1137.90 Mb /usr/bin/python2 /usr/bin/
1025.62 Mb /opt/sensu/
620.76 Mb /usr/bin/python2 /usr/bin/
375.66 Mb keystone-admin -DFOREGROUND
375.66 Mb keystone-main -DFOREGROUND
297.25 Mb /usr/bin/python -Es /usr/sbin/tuned -l -P
There's probably scope for investigating the high memory usage of rabbit and mysql also, and we should consider if we need every service (e.g such as ceilometer) actually running for every overcloud job.
Interestingly (on this just started up idle undercloud), heat isn't the main offender - further testing to be peformed after some deployments ;)
Changed in tripleo: | |
milestone: | pike-2 → pike-3 |
Changed in tripleo: | |
milestone: | pike-3 → pike-rc1 |
Note the above script is using ps which turns out to provide misleading results, top also shows at least mysql and rabbit as eating a lot of memory, but further analysis required