Very high CPU usage from 'creating cloud image metadata storage' emitted in debug log every second
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Critical
|
Ian Booth |
Bug Description
Bootstrapping on Google I see the following output from the debug-log repeated many many times resulting in high CPU usage against jujud and mongod. This does not happen in beta10, so something since then.
started state for model-3bdf9f1a-
starting standard state workers
creating cloud image metadata storage
started state for model-3bdf9f1a-
starting standard state workers
creating cloud image metadata storage
started state for model-3bdf9f1a-
starting standard state workers
creating cloud image metadata storage
started state for model-3bdf9f1a-
starting standard state workers
creating cloud image metadata storage
started state for model-3bdf9f1a-
starting standard state workers
creating cloud image metadata storage
started state for model-3bdf9f1a-
starting standard state workers
creating cloud image metadata storage
started state for model-3bdf9f1a-
starting standard state workers
creating cloud image metadata storage
started state for model-3bdf9f1a-
starting standard state workers
This repeated block of output is happening every few seconds; see the attached machine-0.log.
I tried to bisect this a little:
$ git bisect good
There are only 'skip'ped commits left to test.
The first bad commit could be any of:
f44f3ccfc8f2aad
1db368791b4341a
6a4a21838f35969
0a5bd61f6c85d9c
9ce1f5a9ec85b97
2e49459b30930bb
535c3f0ac268d4b
a392876040e8323
We cannot bisect more!
Changed in juju-core: | |
milestone: | none → 2.0-beta12 |
Changed in juju-core: | |
assignee: | nobody → Ian Booth (wallyworld) |
status: | Triaged → In Progress |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
affects: | juju-core → juju |
Changed in juju: | |
milestone: | 2.0-beta12 → none |
milestone: | none → 2.0-beta12 |
ubuntu@ juju-1f301f- 0:~$ top
top - 09:58:09 up 3 min, 1 user, load average: 2.15, 0.95, 0.37
Tasks: 118 total, 2 running, 116 sleeping, 0 stopped, 0 zombie
%Cpu(s): 80.7 us, 13.0 sy, 0.0 ni, 0.0 id, 2.0 wa, 0.0 hi, 4.3 si, 0.0 st
KiB Mem : 1737260 total, 176804 free, 298424 used, 1262032 buff/cache
KiB Swap: 0 total, 0 free, 0 used. 1261332 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4050 root 20 0 485480 81340 45320 R 63.1 4.7 0:58.76 jujud
3904 root 20 0 843428 205696 27580 S 33.6 11.8 0:31.89 mongod
574 root 20 0 0 0 0 S 0.3 0.0 0:00.49 jbd2/sda1-8
636 root 0 -20 0 0 0 S 0.3 0.0 0:00.26 kworker/0:1H
1 root 20 0 37736 5804 3996 S 0.0 0.3 0:02.54 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root 20 0 0 0 0 S 0.0 0.0 0:00.04 ksoftirqd/0
4 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0
5 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0H
6 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/u2:0
7 root 20 0 0 0 0 S 0.0 0.0 0:00.04 rcu_sched
8 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_bh
9 root rt 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
10 root rt 0 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kdevtmpfs