Memory leak in jujud agents
Bug #1868362 reported by
Haw Loeung
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Hi,
As seen with various units, both jujud machine and unit agents seems to continue to grow. That's fine if it's just one machine and one unit agent but on various services, we usually have quite a bundle (application/
So far, it's all 2.6.10 agents. We're in the process of rolling out juju 2.7.4 across the board but that will still be a few weeks.
To post a comment you must log in.
Before restarting:
| PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND juju/tools/ unit-lpa- nrpe-3/ jujud unit --data-d+ juju/tools/ unit-lpa- logstash- forwarder- 2/jujud+ juju/tools/ unit-landscape- client- 7/jujud unit + juju/tools/ unit-canonical- livepatch- 7/jujud un+ juju/tools/ unit-autocert- lpa-fe- 1/jujud unit -+ juju/tools/ unit-lpa- fe-0/jujud unit --data-dir+ juju/tools/ machine- 3/jujud machine --data-dir +
| 5500 root 20 0 621004 208440 12692 S 0.0 10.2 186:08.96 /var/lib/
| 5499 root 20 0 621196 203388 7948 S 0.0 9.9 191:41.05 /var/lib/
| 5494 root 20 0 621004 200832 7516 S 0.0 9.8 188:36.01 /var/lib/
| 5405 root 20 0 629200 200156 4156 S 0.0 9.8 193:37.70 /var/lib/
| 5496 root 20 0 621068 198928 3376 S 0.0 9.7 203:56.50 /var/lib/
| 5495 root 20 0 621004 197996 2260 S 0.0 9.7 193:13.57 /var/lib/
| 5364 root 20 0 844604 15468 2136 S 0.0 0.8 52:05.13 /var/lib/
(machine agent was just restarted)
After:
| PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND juju/tools/ machine- 3/jujud machine --data-dir + juju/tools/ unit-autocert- lpa-fe- 1/jujud unit -+ juju/tools/ unit-lpa- fe-0/jujud unit --data-dir+ juju/tools/ unit-canonical- livepatch- 7/jujud un+ juju/tools/ unit-landscape- client- 7/jujud unit + juju/tools/ unit-lpa- nrpe-3/ jujud unit --data-d+ juju/tools/ unit-lpa- logstash- forwarder- 2/jujud+
| 32467 root 20 0 705080 72132 60516 S 0.0 3.5 0:00.44 /var/lib/
| 32526 root 20 0 541224 71344 60424 S 0.0 3.5 0:00.33 /var/lib/
| 32514 root 20 0 475688 71288 60004 S 0.0 3.5 0:00.33 /var/lib/
| 32505 root 20 0 541224 71216 60508 S 0.0 3.5 0:00.32 /var/lib/
| 32508 root 20 0 475688 71080 60600 S 0.0 3.5 0:00.28 /var/lib/
| 32510 root 20 0 483884 70928 60436 S 0.0 3.5 0:00.30 /var/lib/
| 32513 root 20 0 483884 70048 59804 S 0.0 3.4 0:00.26 /var/lib/