# Elastic Stack memory pressure increase over time

**URL:** <https://discuss.elastic.co/t/elastic-stack-memory-pressure-increase-over-time/246936>\
**Category:** Elasticsearch\
**Created:** [August 31, 2020, 10:42am UTC](https://discuss.elastic.co/t/elastic-stack-memory-pressure-increase-over-time/246936 "2020-08-31T10:42:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sfenman](https://avatars.discourse-cdn.com/v4/letter/s/f04885/32.png) [@sfenman](https://discuss.elastic.co/u/sfenman)\
**Post date:** [August 31, 2020, 10:42am UTC](https://discuss.elastic.co/t/elastic-stack-memory-pressure-increase-over-time/246936/1 "2020-08-31T10:42:33Z")

</div>

Hello,

Last month I have upgraded my elastic stack from 8GB Ram to 16GB since I had high memory pressure. It all worked out until last week when memory and CPU started to increase day after day without any change or increase in the data I'm ingesting/indexing. Today, memory pressure was above 80% so I restarted my instances and it got down to 30% after the restart. I am trying to drill down to the issue but I can't find a reasonable explanation to my problem and I am afraid that it might gonna happen again. What thing should I search and check to understand why this is happening?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 31, 2020, 10:45am UTC](https://discuss.elastic.co/t/elastic-stack-memory-pressure-increase-over-time/246936/2 "2020-08-31T10:45:07Z")

</div>

How many shards, how many nodes, what version?

---

<div class="post-metadata">

**Author:** ![sfenman](https://avatars.discourse-cdn.com/v4/letter/s/f04885/32.png) [@sfenman](https://discuss.elastic.co/u/sfenman)\
**Post date:** [August 31, 2020, 10:52am UTC](https://discuss.elastic.co/t/elastic-stack-memory-pressure-increase-over-time/246936/3 "2020-08-31T10:52:04Z")

</div>

There are 2 Elasticsearch nodes running on 7.9.  
Indices and shards:

```auto
      "indices" : {
        "count" : 167,
        "shards" : {
          "total" : 334,
          "primaries" : 167,
          "replication" : 1.0,
          "index" : {
            "shards" : {
              "min" : 2,
              "max" : 2,
              "avg" : 2.0
    } 

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 28, 2020, 10:52am UTC](https://discuss.elastic.co/t/elastic-stack-memory-pressure-increase-over-time/246936/4 "2020-09-28T10:52:21Z")

</div>

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