Setting GC for ES

I'm a little clueless when it comes to java options in ES, and was
wondering where I define things like GC? I did try setting it in
ES_JAVA_OPTS under /etc/default/elasticsearch, however when I did ES
wouldn't start, so either my syntax is wrong, or something else.

Can anyone provide a few pointers for me?

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: markw@campaignmonitor.com
web: www.campaignmonitor.com

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAEM624b7g4YwRDfeHU1OJG9FBHmGO6Zt1UK%3DTd67Wx9K%2BhKq5g%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

FWIW I hack bin/elasticsearch.in.sh for modifying the JAVA_OPTS there.

Jörg

On Fri, Feb 14, 2014 at 8:33 PM, Mark Walkom markw@campaignmonitor.comwrote:

I'm a little clueless when it comes to java options in ES, and was
wondering where I define things like GC? I did try setting it in
ES_JAVA_OPTS under /etc/default/elasticsearch, however when I did ES
wouldn't start, so either my syntax is wrong, or something else.

Can anyone provide a few pointers for me?

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: markw@campaignmonitor.com
web: www.campaignmonitor.com

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAEM624b7g4YwRDfeHU1OJG9FBHmGO6Zt1UK%3DTd67Wx9K%2BhKq5g%40mail.gmail.com
.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoHbHyRGFRWN%3DCkyf1TYJZ7SUs0qrfyBfNFJH5m1bSD1kg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

^^ Same. For the package install, it's under
/usr/share/elasticsearch/bin/elasticsearch.in.sh.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/9fb3060d-c78a-4f08-be55-da99b275e748%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ok thanks, is it as simple as XX:+UseG1GC?

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: markw@campaignmonitor.com
web: www.campaignmonitor.com

On 15 February 2014 08:07, Binh Ly binh@hibalo.com wrote:

^^ Same. For the package install, it's under /usr/share/elasticsearch/bin/
elasticsearch.in.sh.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/9fb3060d-c78a-4f08-be55-da99b275e748%40googlegroups.com
.

For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAEM624Zo%3Dd8MbUe71%2BpA4ii%3DaHC9hfYV4DgL462tnF5ZgoMzzQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.