[AtoM 2.5.1] Elasticsearch Down

107 views
Skip to first unread message

Yoo Young Lee

unread,
Jul 17, 2019, 2:05:19 PM7/17/19
to AtoM Users
Hi,

We successfully upgraded our AtoM instance to the latest version, but the Elasticsearch is down quite often.



I see the status is yellow and the number_of_nodes (1) = number_of_replicas (1) which shouldn't be according to the document. If we modify the text (as suggested in the documentation) to set the number_of_replicas to 0, this would work? I just wanted to verify with you first.

Thank you so much for your help,
Yoo Young

{

  "cluster_name" : "elasticsearch",

  "status" : "yellow",

  "timed_out" : false,

  "number_of_nodes" : 1,

  "number_of_data_nodes" : 1,

  "active_primary_shards" : 4,

  "active_shards" : 4,

  "relocating_shards" : 0,

  "initializing_shards" : 0,

  "unassigned_shards" : 4,

  "delayed_unassigned_shards" : 0,

  "number_of_pending_tasks" : 0,

  "number_of_in_flight_fetch" : 0,

  "task_max_waiting_in_queue_millis" : 0,

  "active_shards_percent_as_number" : 50.0,

  "indices" : {

    "atom" : {

      "status" : "yellow",

      "number_of_shards" : 4,

      "number_of_replicas" : 1,

      "active_primary_shards" : 4,

      "active_shards" : 4,

      "relocating_shards" : 0,

      "initializing_shards" : 0,

      "unassigned_shards" : 4,

      "shards" : {

        "0" : {

          "status" : "yellow",

          "primary_active" : true,

          "active_shards" : 1,

          "relocating_shards" : 0,

          "initializing_shards" : 0,

          "unassigned_shards" : 1

        },

        "1" : {

          "status" : "yellow",

          "primary_active" : true,

          "active_shards" : 1,

          "relocating_shards" : 0,

          "initializing_shards" : 0,

          "unassigned_shards" : 1

        },

        "2" : {

          "status" : "yellow",

          "primary_active" : true,

          "active_shards" : 1,

          "relocating_shards" : 0,

          "initializing_shards" : 0,

          "unassigned_shards" : 1

        },

        "3" : {

          "status" : "yellow",

          "primary_active" : true,

          "active_shards" : 1,

          "relocating_shards" : 0,

          "initializing_shards" : 0,

          "unassigned_shards" : 1

        }

      }

    }

  }

}


Dan Gillean

unread,
Jul 23, 2019, 1:31:48 PM7/23/19
to ICA-AtoM Users
Hi there, 

In the vast majority of cases, ES crashing tends to be a memory issue. If you are able to allocate more memory, this would likely help! The top answer on this StackExchange thread may offer some further insight: 
You can also use a resource monitor such as htop to view system resources  and processes in real-time while you try to replicate the issue. We have some suggestions on this in our Troubleshooting page, here: 
Additionally i should add about the yellow health status: I think it's primarily because we're only using one node in our default AtoM Elasticsearch deployment, and ES is warning you that this could involve data loss if the node goes down. According to the ES docs, "yellow means that the primary shard is allocated but replicas are not." Since ES is not our primary data store and it's easy to repopulate, I don't think this is critical.  See also:
Cheers, 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory


--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/6eb2753e-b1c7-4adf-9407-953bd429dfba%40googlegroups.com.

Yoo Young Lee

unread,
Jul 24, 2019, 9:10:36 AM7/24/19
to ica-ato...@googlegroups.com
Hi Dan,

Thank you for your response! I requested to increase our VM RAM from 2GB to 7GB and just restarted. 

Best,
Yoo Young

Yoo Young Lee

unread,
Aug 21, 2019, 4:04:32 PM8/21/19
to ica-ato...@googlegroups.com
Hi Dan,

Since we've increased the RAM memory, there was no issue.

Thank you for your help!
Yoo Young

Dan Gillean

unread,
Aug 21, 2019, 5:24:48 PM8/21/19
to ICA-AtoM Users
Thanks for updating the thread and letting us know, Yoo! Glad to hear things are working now! 

Cheers, 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory

Reply all
Reply to author
Forward
0 new messages