/srv/irclogs.ubuntu.com/2017/06/11/#juju.txt

=== jac__ is now known as jac_cplane
thomiHello #juju - I have a single lxd controller running on my laptop, with 4 applications (5 units total) running. This morning I find that /usr/lib/juju/mongo3.2/bin/mongod is using 13GB or RAM. This seems excessive to me. Is there something I can do to trim that down?20:59
thomiI thought perhaps restarting mongod might work, but I don't see a systemd service file for it, so I guess it's managed by jujud itself.21:00
thomiveebers: perhaps you have any ideas?21:00
veebersthomi: hey, wow yeah that seems excessive. mongodb is known as something else for systemd I think, juju-mongodb?21:04
thomiveebers: this should be on my host, or on the bootstrap node?21:05
veebersthomi: which version of juju are you using?21:05
thomi2.0.2-zesty-amd6421:06
veebersthomi: on the bootstrap node, you're host wouldn't know about mongo (as it's installed in the lxd container)21:06
thomiI don't see any systemd control files with 'mongo' in their name. Not on the host nor the bootstrap node21:06
veebershuh21:06
veebersI might be wrong then, let me check something out21:07
thomiI might not understand how lxd works, but I don't see 'mongod' in the process list in the container, only on the host21:08
veebersthomi: you only have a single lxd container?21:10
thomino, there's a bunch, bot most of them are for the applications deployed21:10
veebersthomi: ok, you'll want to be on the controller machine21:10
thomiI'm not familiar with that terminology. What does 'controller machine' mean, exactly?21:11
thomioh! I see now, this has changed from juju121:12
veebersthomi: ah right, sorry yes I'm so used to thinking in juju2 terms21:12
thomiI was assuming that 'juju ssh 0' got me into the bootstrap node, but I guess it doesn't21:12
thomiSo what's the easiest way with juju 2 to ssh into the controller containers?21:13
veebersthomi: ah right, juju ssh -m controller 0 should so it21:13
thomiahh21:13
veebersyou may need juju ssh -m <controller name>:controller 021:13
veebers(Each controller has a controller model)21:14
thomihmm, ok, thanks. That helped. Thanks!21:17
veebersthomi: nw, let me know how it goes21:20
=== babbageclunk-afk is now known as babbageclunk

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!