# Small cluster has memory increasing and CPU

**URL:** <https://forums.suse.com/t/small-cluster-has-memory-increasing-and-cpu/10824>\
**Category:** SUSE Rancher Prime\
**Created:** [June 19, 2018, 7:35am UTC](https://forums.suse.com/t/small-cluster-has-memory-increasing-and-cpu/10824 "2018-06-19T07:35:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mushu](https://avatars.discourse-cdn.com/v4/letter/m/b5e925/32.png) [@Mushu](https://forums.suse.com/u/Mushu)\
**Post date:** [June 19, 2018, 7:35am UTC](https://forums.suse.com/t/small-cluster-has-memory-increasing-and-cpu/10824/1 "2018-06-19T07:35:25Z")

</div>

Hello,

I migrated some of my VM from rancher 1.6 to rancher 2.x and I have some problems with the memory and furthermore with the CPU consumption. I monitor my memory usage with collectd and grafana, and I’m little bit disapointed to have a 70% memory consumption only with rancher agent (and 20% on one core CPU).  
I attached the graohic showing the memory increasing over time for the light blue / orange / green machine. As an exemple, the blue machine has not been migrated and is under rancher 1.6. So I understand the changes between 1.x and 2.x with kubernetes, but how can I solved this memory and CPU issue (I suppose CPU is due to memory gc ?).

 ![58%20-%20Copie](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/b/b71dd9d363b61b05b8a7424bbb0f5f01b46a1c91.png)

Just to let you know the green machine is an etcd/control/worker node and light blue / orange are only worker nodes. Can this be due only to logs stashing on the node ? or is it due to some misconfiguration of my nodes ?  
Because on the long term I am not able to have any pods on those machines, and memory / CPU usage is only due to rancher agent.

---

<div class="post-metadata">

**Author:** ![Mushu](https://avatars.discourse-cdn.com/v4/letter/m/b5e925/32.png) [@Mushu](https://forums.suse.com/u/Mushu)\
**Post date:** [June 19, 2018, 7:36am UTC](https://forums.suse.com/t/small-cluster-has-memory-increasing-and-cpu/10824/2 "2018-06-19T07:36:10Z")

</div>

As an info, here is also the CPU monitoring which is also a problem.

 ![14](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/3/37a3a3becaa065ffbebb928dd2af83008beb2595.png)

---

<div class="post-metadata">

**Author:** ![FillFeile](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/fillfeile/32/4353_2.png) [@FillFeile](https://forums.suse.com/u/FillFeile)\
**Post date:** [July 30, 2018, 4:12pm UTC](https://forums.suse.com/t/small-cluster-has-memory-increasing-and-cpu/10824/3 "2018-07-30T16:12:32Z")

</div>

Bumping this thread a little…  
I’m experiencing the same issue in my environment. With rancher 1.6.x the servers where running at an not noticeable CPU during idle hours. With the new deployed 2.0.x cluster I’m seeing a utilization on the server running the rancher-server of about 20%.

Is there anything we can do to change this?
