# Why cpu and memory too high?

**URL:** https://discuss.elastic.co/t/why-cpu-and-memory-too-high/84688
**Category:** Elasticsearch
**Created:** [May 5, 2017, 10:09am UTC](https://discuss.elastic.co/t/why-cpu-and-memory-too-high/84688 "2017-05-05T10:09:47Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![zhaochl](https://avatars.discourse-cdn.com/v4/letter/z/7ba0ec/32.png) [@zhaochl](https://discuss.elastic.co/u/zhaochl)
#### Post date: [May 5, 2017, 10:09am UTC](https://discuss.elastic.co/t/why-cpu-and-memory-too-high/84688/1 "2017-05-05T10:09:47Z")

</div>

Hi:  
my clusters both cpu and memory is too heavy,querys slow and even timeout happen sometimes,  
Setup:  
ES cluster 2 nodes  
ES Version: 5.1.0  
Total size of open indices: 28GB  
RAM:16GB Master  
CPU: 4 core intel  
ES HEAP SIZE=8g  
total docs （logs mainly）is about 30，000，000+ total, 50,000+ per 15minutes  
how can do to solve this, should I add a new node ?  
as my machine setup ,what is the max number of total logs, so to know when to add a new node ?

thanks for any suggestions

---

<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: [June 2, 2017, 10:17am UTC](https://discuss.elastic.co/t/why-cpu-and-memory-too-high/84688/2 "2017-06-02T10:17:30Z")

</div>

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