thank for your replying , sorry for my questions , i'm new try to learn , i ran the code first in local mode . it loading configurations that i can see Terminal window , in this case how can i restart supervisorOn Sun, Apr 17, 2016 at 1:53 AM, Erik Weathers <firstname.lastname@example.org> wrote:(1) You need to make sure the changes are in storm.yaml on the host(s) running the workers. I *assume* that you need to restart the supervisors to pick up the new config also, since the supervisor constructs the worker command. The Nimbus normally  doesn't send all the configs out to the supervisor and workers.(2) If you want to set it via code in your topology, then you should set "topology.worker.childopts", instead of "worker.childopts". For storm-mesos, the Nimbus *does* send the configs to the Supervisor and thus workers.On Sat, Apr 16, 2016 at 2:10 PM, sam mohel <email@example.com> wrote:How can i make my change be readen as i set ?i tried to set it in the code bywhat is the difference between them ?but it read "worker.childopts" "-Xmx768m" and i noticed topology.worker.childopts" nili tried im storm.yamlThanks for you bothbut it didn't read what i wrote
worker.childopts: "-Xms4g -Djava.net.preferIPv4Stack=true"
conf.put("worker.childopts","-Xms4g"); but still read same sizeOn Sat, Apr 16, 2016 at 2:37 PM, Andrey Dudin <firstname.lastname@example.org> wrote:Now you have maximum heap size 2048m. If you need to increase heap size, delete -Xmx2048m and add -Xms4G2016-04-16 14:03 GMT+03:00 sam mohel <email@example.com>:i have this in storm.yamlwhat should i write in this statement ?
worker.childopts: "-Xmx2048m -XX:MaxPermSize=256m -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -verbose:gc -Xloggc:/usr/local/storm/logs/gc-storm-worker-%6700%.log"
On Saturday, April 16, 2016, Andrey Dudin <firstname.lastname@example.org> wrote:>i want to increase size of heap for worker to -Xms4G how can i write it in storm.yaml ?add this option to worker.childopts2016-04-16 7:34 GMT+03:00 sam mohel <email@example.com>:i want to increase size of heap for worker to -Xms4G how can i write it in storm.yaml ?and how can i set the number of CPU consuming bolts to the amount of cores ?Thanks for any help--С уважением Дудин Андрей--С уважением Дудин Андрей