java - How can I set timeout on client node for a data node of elasticsearch? -


so have 1 client node , 2 nodes both master , data.

the data node have 32gb ram of 16gb allocated heap elasticsearch.

the server run of data expect during gc phases. server stops responding. tried different configurations unable bring gc time down.

now problem if there gc going on 1 node, whole cluster dies. there way can set timeout es data node on es client.

so when gc happening on node timeout , es client return result collected 1 of node , not wait complete data return both node.

is there way this.

if wants can share jvm settings elasticsearch , elasticsearch.yaml file also.

logs gc : [2016-01-28 12:36:27,200][warn ][monitor.jvm ] [main-server-m2xlarge-2] [gc][old][91418][327] duration [11.1s], collections [1]/[11.6s], total [11.1s]/[24.6m], memory [6gb]->[4.7gb]/[15.5gb], all_pools {[young] [411.7mb]->[14.4mb]/[532.5mb]}{[survivor] [38.1mb]->[0b]/[66.5mb]}{[old] [5.6gb]->[4.7gb]/[14.9gb]}

[2016-01-28 12:38:06,227][warn ][monitor.jvm ] [main-server-m2xlarge-2] [gc][old][91506][328] duration [10.8s], collections [1]/[11.7s], total [10.8s]/[24.8m], memory [5.8gb]->[4.8gb]/[15.5gb], all_pools {[young] [346mb]->[1.1mb]/[532.5mb]}{[survivor] [46.6mb]->[0b]/[66.5mb]}{[old] [5.4gb]->[4.8gb]/[14.9gb]}

[2016-01-28 12:38:16,819][warn ][monitor.jvm ] [main-server-m2xlarge-2] [gc][old][91507][329] duration [10s], collections [1]/[10.5s], total [10s]/[24.9m], memory [4.8gb]->[4.8gb]/[15.5gb], all_pools {[young] [1.1mb]->[479kb]/[532.5mb]}{[survivor] [0b]->[0b]/[66.5mb]}{[old] [4.8gb]->[4.8gb]/[14.9gb]}

[2016-01-28 12:38:36,551][info ][monitor.jvm ] [main-server-m2xlarge-2] [gc][old][91508][331] duration [19.6s], collections [2]/[19.7s], total [19.6s]/[25.3m], memory [4.8gb]->[4.5gb]/[15.5gb], all_pools {[young] [479kb]->[33.6mb]/[532.5mb]}{[survivor] [0b]->[0b]/[66.5mb]}{[old] [4.8gb]->[4.4gb]/[14.9gb]}


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -