Menno, This is great and thanks for sharing! In case anyone else runs into this.. charms that install from PPAs will fail with this squid-deb-proxy setup. You'll need to allow archive mirrors for this to work. See https://1337.tips/ubuntu-cache-packages-using-squid-deb-proxy/ for an example.
On Mon, Aug 15, 2016 at 9:31 AM, Rafael Gonzalez < rafael.gonza...@canonical.com> wrote: > Hi Menno, > > Thanks for putting this together, great tips. I recently ran into an > issue which others could see as well. > > One may need to adjust the following for large bundle deployments on LXD. > A bundle deployment fails with errors about "Too many files open." This > will increase number of max open files: > > echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && > sudo sysctl -p > > > Regards, > > Rafael O. Gonzalez > Canonical, Solutions Architect > rgo...@canonical.com > 1-646-481-7232 > > > > On Sun, Aug 14, 2016 at 8:07 PM, Menno Smits <menno.sm...@canonical.com> > wrote: > >> I've put together a few tips on the wiki for speeding up bootstrap and >> provisioning times when using the Juju lxd provider. I find these >> techniques helpful when checking my work or investigating bugs - situations >> where you end up bootstrapping and deploying many times. >> >> https://github.com/juju/juju/wiki/Faster-LXD >> >> If you have your own techniques, or improvements to what I'm doing, >> please update the article. >> >> - Menno >> >> >> >> >> >> >> >> -- >> Juju-dev mailing list >> Juju-dev@lists.ubuntu.com >> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm >> an/listinfo/juju-dev >> >> > > -- > Juju-dev mailing list > Juju-dev@lists.ubuntu.com > Modify settings or unsubscribe at: https://lists.ubuntu.com/ > mailman/listinfo/juju-dev > >
-- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev