elasticsearch - elastic search error: "can't select channel size is 0 for types: [RECOVERY, BULK, STATE]" -


i'm getting following error fluentd-elasticsearch after running every couple of hours:

can't select channel size 0 types: [recovery, bulk, state] 

it looks error coming here:

elasticsearch/core/src/main/java/org/elasticsearch/transport/connectionprofile.java <t> t getchannel(t[] channels) {             if (length == 0) {                 throw new illegalstateexception("can't select channel size 0 types: " + types);             }             assert channels.length >= offset + length : "illegal size: " + channels.length + " expected >= " + (offset + length);             return channels[offset + math.floormod(counter.incrementandget(), length)];         } 

what cause of error? how resolve?

this fluentd setup:

<match *.**>   buffer_chunk_limit 64m   buffer_queue_limit 500   type elasticsearch   hosts index1:9200,index2:9200   logstash_format true   flush_interval 30s   request_timeout 100s   flush_at_shutdown true   buffer_type file   buffer_path /opt/buffer/td-agent/all.*.buffer   retry_limit 17   num_threads 8   reload_on_failure true   reload_connections true   reconnect_on_error true </match> 

i'm using:

ruby gems:     fluent-plugin-elasticsearch-1.9.5     elasticsearch-api-5.0.4     elasticsearch-5.0.4     elasticsearch-transport-5.0.4 elastic search:     elasticsearch-5.5.2 fluentd:     td-agent-2.3.2-0.el6.x86_64 


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -