Comment 1 for bug 1829681

Revision history for this message
Haw Loeung (hloeung) wrote :

Seeing it myself:

  PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
31267 root 20 0 264416 92436 16292 R 70.1 1.1 2:13.72 add-apt-reposit
 2124 www-data 20 0 110732 42540 5192 S 4.0 0.5 0:00.39 thruk_fastcgi.p

The update-status hook shouldn't really do much and certainly not something as CPU intensive as add-apt-repository.

root 1008 0.0 0.8 1329008 69900 ? Sl Jul05 0:31 \_ /var/lib/juju/tools/unit-thruk-agent-0/jujud unit --data-dir /var/lib/juju --unit-name thruk-agent/0 --debug
root 31196 0.0 0.6 90072 49264 ? S 21:50 0:00 \_ /usr/bin/python /var/lib/juju/agents/unit-thruk-agent-0/charm/hooks/update-status
root 31267 57.9 1.1 264416 92436 ? D 21:50 2:11 \_ /usr/bin/python3 /usr/bin/add-apt-repository --yes ppa:canonical-bootstack/thruk