Hi Chris, Were you able to check the memory consumption and load average values sent to Autoscaler by any chance?
Thanks On Mon, May 26, 2014 at 6:31 PM, chris snow <chsnow...@gmail.com> wrote: > Hi Lahiru, > > It looks like there's some good info here [1]. However, as a first > step, I was wondering whether we should add a note to the wiki to > recommend not using the memory consumption or load average parameters > for docker/lxc guests [2]? > > Cheers, > > Chris > > --- > [1] http://blog.docker.io/2013/10/gathering-lxc-docker-containers-metrics/ > [2 > https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Auto-scaling+Guide#id-4.0.0Auto-scalingGuide-memoryConsumptio > > On Mon, May 26, 2014 at 1:24 PM, Lahiru Sandaruwan <lahi...@wso2.com> > wrote: > > Hi Chis. > > > > > > On Mon, May 26, 2014 at 5:27 PM, chris snow <chsnow...@gmail.com> wrote: > >> > >> Hi Guys, > >> > >> I noticed on my stratos+openstack+docker installation that stratos was > >> getting into a cycle trying to spawn new instances. > >> > >> I think this is because load average (and probably memory consumption) > >> on lxc/docker instances is the same value as for the host [1]. > >> > >> Question: Am I correct in thinking that load average and memory > >> consumption autoscaling parameters aren't a good idea for docker > >> guests? > > > > > > Is there a way to find out the load average and memory consumption of the > > guest? > > > > I think the proper solution is to customize/fix Cartridge agent find out > > relevant values in these type of environments and publish stats to CEP. > > > > Thanks. > >> > >> > >> Many thanks, > >> > >> Chris > >> > >> --- > >> [1] > >> > http://unix.stackexchange.com/questions/132021/is-a-lxc-docker-guest-load-average-the-same-as-the-hosts-load-average > > > > > > > > > > -- > > -- > > Lahiru Sandaruwan > > Committer and PMC member, Apache Stratos, > > Senior Software Engineer, > > WSO2 Inc., http://wso2.com > > lean.enterprise.middleware > > > > email: lahi...@wso2.com cell: (+94) 773 325 954 > > blog: http://lahiruwrites.blogspot.com/ > > twitter: http://twitter.com/lahirus > > linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 > > > > > > -- > Check out my professional profile and connect with me on LinkedIn. > http://lnkd.in/cw5k69 > -- Imesh Gunaratne Technical Lead, WSO2 Committer & PPMC Member, Apache Stratos