Cluster taking lot of time while Indexing and Updation

Hi All,

When i tried to indexing document or update document into ES, It takes lot of time. But search performance is good.

Its takes around 30 seconds to put/update document.
I am using only bulk update and bulk index on production environment but it got stuck.

PUT /test/_bulk
{"index":{"_id":"1503987207_1","_index":"test","_type":"event","routing":"1","parent":"1","_retry_on_conflict":5}}
{"event_name":"signup","event_date":{"day":"29","month":"08","year":"2017","day_month":"29-08","year_month_day":"2017-08-29","timestamp":"2017-08-29T06:13:27","weekday":"tuesday"},"userId":"1","point":1,"country":["india"]}

And get response of this hit is

{
  "took": 39734,
  "errors": false,
  "items": [
     {
        "index": {
           "_index": "test",
           "_type": "event",
           "_id": "1503987207_1",
           "_version": 7,
           "result": "updated",
           "_shards": {
              "total": 2,
              "successful": 2,
              "failed": 0
           },
           "created": false,
           "status": 200
        }
     }
  ]
}

I am using Elasticsearch 5.5
I have one cluster with 3 data node and 1 master node

Data node, each have config.
8 core cpu
27GB RAM

And

Master have config
8 core cpu
27GB RAM

and we assign 13GB RAM to Heap of each node.

/etc/elasticsearch/elasticsearch.yml

indices.memory.index_buffer_size: 40%
thread_pool.bulk.queue_size: 3000


/etc/elasticsearch/jvm.options
-Xms13g
-Xmx13g

All node have load around 2.

Please help me to search query with children on cluster1.

Thanks in advance

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.