lxd high load with many models

Bug #1732460 reported by John A Meinel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Low
Unassigned

Bug Description

I was load testing by creating a single controller, and then creating 200 models inside that controller, all of which don't have anything in them.
When I 'juju upgrade-juju' while the machine is coming back up, I see:
  27235 root 20 0 4023008 160752 17120 S 200.0 2.0 49:29.35 /usr/bin/lxd --group lxd --logfile=/var/log/lxd/lxd.log

I reported https://github.com/lxc/lxd/issues/4025

My best guess is that we are doing something like running a Provisioner per model which ends up connecting to LXD per model, and requires a lot of CPU overhead.

It might be that we're creating 100s of profiles (we create one per model), and this action is causing us to ensure that all 200 still exist, and LXD doesn't handle it particularly efficiently.

It takes several minutes before LXD recovers and stops thrashing.

Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This bug has not been updated in 2 years, so we're marking it Low importance. If you believe this is incorrect, please update the importance.

Changed in juju:
importance: Medium → Low
tags: added: expirebugs-bot
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.