# Insane Node Memory & CPU Consumption

**URL:** <https://forum.storj.io/t/insane-node-memory-cpu-consumption/5294>\
**Category:** troubleshooting\
**Tags:** qnap-nas, iscsi\
**Created:** [March 20, 2020, 8:32am UTC](https://forum.storj.io/t/insane-node-memory-cpu-consumption/5294 "2020-03-20T08:32:54Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![brizio71](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/brizio71/32/1129_2.png) [@brizio71](https://forum.storj.io/u/brizio71)\
**Post date:** [March 20, 2020, 8:32am UTC](https://forum.storj.io/t/insane-node-memory-cpu-consumption/5294/1 "2020-03-20T08:32:54Z")

</div>

Hi,  
I have a node running on quando core celeron with 5GB of RAM, I have a big problem on CPU and RAM usage, the CPU is about 100% all the time:

 ![cpu](https://storj-s3.bcdn.literatehosting.net/original/2X/4/44c5f190eae46911c42d06a326ab1d189bd6e3eb.png)

and the memory the RAM and Swap mem the same:

 ![mem](https://storj-s3.bcdn.literatehosting.net/original/2X/9/9ca1b7a7b0ccc8bdc7f1c91511098a0e8b955d46.png)

Looking the CPU graphs I see that the IOWAIT is on 54% average, is that correct ?

What I can do to solve this problem ?

thx

---

<div class="post-metadata">

**Author:** ![will.topping](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/will.topping/32/6387_2.png) [@will.topping](https://forum.storj.io/u/will.topping)\
**Post date:** [March 20, 2020, 9:07am UTC](https://forum.storj.io/t/insane-node-memory-cpu-consumption/5294/2 "2020-03-20T09:07:04Z")

</div>

How do you know what’s causing this utilisation? Can you show the processes running and usage by process?

---

<div class="post-metadata">

**Author:** ![brizio71](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/brizio71/32/1129_2.png) [@brizio71](https://forum.storj.io/u/brizio71)\
**Post date:** [March 20, 2020, 9:24am UTC](https://forum.storj.io/t/insane-node-memory-cpu-consumption/5294/3 "2020-03-20T09:24:53Z")

</div>

This is the situation 40 minutes after node restart, storagenode use all CPU and RAM:

 ![Schermata 2020-03-20 alle 10.19.31](https://storj-s3.bcdn.literatehosting.net/original/2X/2/2f7dab4217706095b8ce104e84785424a02d0185.jpeg)

---

<div class="post-metadata">

**Author:** ![deathlessdd](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/deathlessdd/32/6067_2.png) [@deathlessdd](https://forum.storj.io/u/deathlessdd)\
**Post date:** [March 20, 2020, 10:42am UTC](https://forum.storj.io/t/insane-node-memory-cpu-consumption/5294/4 "2020-03-20T10:42:22Z")

</div>

It’s normal to have high load after a reboot of the node. It starts to calm down because it has to load everything and check files and the database.

---

<div class="post-metadata">

**Author:** ![brizio71](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/brizio71/32/1129_2.png) [@brizio71](https://forum.storj.io/u/brizio71)\
**Post date:** [March 20, 2020, 10:51am UTC](https://forum.storj.io/t/insane-node-memory-cpu-consumption/5294/5 "2020-03-20T10:51:39Z")

</div>

The problem is all in this way not jus after a restart (not reboot), take a look the screenshoot posted

---

<div class="post-metadata">

**Author:** ![kevink](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/kevink/32/6077_2.png) [@kevink](https://forum.storj.io/u/kevink)\
**Post date:** [March 20, 2020, 10:56am UTC](https://forum.storj.io/t/insane-node-memory-cpu-consumption/5294/6 "2020-03-20T10:56:29Z")

</div>

no its not normal. my 3tb node never needs more than a few hundred MB RAM and barely any cpu. IOWait is normal though now and then.

---

<div class="post-metadata">

**Author:** ![nerdatwork](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/nerdatwork/32/1135_2.png) [@nerdatwork](https://forum.storj.io/u/nerdatwork)\
**Post date:** [March 20, 2020, 10:58am UTC](https://forum.storj.io/t/insane-node-memory-cpu-consumption/5294/7 "2020-03-20T10:58:22Z")

</div>

> [@brizio71](#):
>
> the CPU is about 100% all the time

Which version are you currently running ?

---

<div class="post-metadata">

**Author:** ![deathlessdd](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/deathlessdd/32/6067_2.png) [@deathlessdd](https://forum.storj.io/u/deathlessdd)\
**Post date:** [March 20, 2020, 11:06am UTC](https://forum.storj.io/t/insane-node-memory-cpu-consumption/5294/8 "2020-03-20T11:06:52Z")

</div>

You do know that everyone nodes aren’t all running on the same spec hardware when I restart my node it uses 100% cpu for awhile. heres my node right after I just simply restart my node.

 ![image](https://storj-s3.bcdn.literatehosting.net/original/2X/e/ee5de3697f7434f4e766238a2c5634056b5b7b5b.png)

---

<div class="post-metadata">

**Author:** ![brizio71](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/brizio71/32/1129_2.png) [@brizio71](https://forum.storj.io/u/brizio71)\
**Post date:** [March 20, 2020, 11:26am UTC](https://forum.storj.io/t/insane-node-memory-cpu-consumption/5294/9 "2020-03-20T11:26:01Z")

</div>

I’m running 0.34.6 version, I think the last one

---

<div class="post-metadata">

**Author:** ![brizio71](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/brizio71/32/1129_2.png) [@brizio71](https://forum.storj.io/u/brizio71)\
**Post date:** [March 20, 2020, 11:27am UTC](https://forum.storj.io/t/insane-node-memory-cpu-consumption/5294/10 "2020-03-20T11:27:45Z")

</div>

The problem is that my CPU is always at 90-100% of usage as for my 5GB of RAM, the graphs attached on my origina post is of 6 hours of range and how you can see is always full CPU and MEM

---

<div class="post-metadata">

**Author:** ![deathlessdd](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/deathlessdd/32/6067_2.png) [@deathlessdd](https://forum.storj.io/u/deathlessdd)\
**Post date:** [March 20, 2020, 11:28am UTC](https://forum.storj.io/t/insane-node-memory-cpu-consumption/5294/11 "2020-03-20T11:28:24Z")

</div>

No I do see it, Which cpu are you running so I can get a better Idea if this is an actual problem or not.

---

<div class="post-metadata">

**Author:** ![brizio71](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/brizio71/32/1129_2.png) [@brizio71](https://forum.storj.io/u/brizio71)\
**Post date:** [March 20, 2020, 11:36am UTC](https://forum.storj.io/t/insane-node-memory-cpu-consumption/5294/12 "2020-03-20T11:36:56Z")

</div>

I’m running a quad core Celeron J1900

---

<div class="post-metadata">

**Author:** ![deathlessdd](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/deathlessdd/32/6067_2.png) [@deathlessdd](https://forum.storj.io/u/deathlessdd)\
**Post date:** [March 20, 2020, 11:50am UTC](https://forum.storj.io/t/insane-node-memory-cpu-consumption/5294/13 "2020-03-20T11:50:29Z")

</div>

So heres the main issue ok, Your cpu baseclock is 2.0ghz which older celerons werent know as being a very powerful processor by no means, Lets put this in perspective of how powerful it is, A rpi 3 has a more powerful cpu then this celeron. The TDP of this processor is only 10watts of power.

To me this is going to be a normal issue that your gonna have to get used to with a weak processor. Something that may help a bit If you installed ubuntu on the same drive as the node its going to slow everything down. Installing the OS on a different drive would increase performance a bit because its not going to be sharing the same resources as your node is. Another thing is if your running the OS with a GUI its gonna put alot more overhead vs running without a GUI.

My Node is on a pretty weak cpu as well but I have the OS installed on its own SSD, I am running No GUI, It struggles when start up on one node and if its a fresh reboot I have seen it pegged at 100% cpu for a few hours.

---

<div class="post-metadata">

**Author:** ![brizio71](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/brizio71/32/1129_2.png) [@brizio71](https://forum.storj.io/u/brizio71)\
**Post date:** [March 20, 2020, 12:13pm UTC](https://forum.storj.io/t/insane-node-memory-cpu-consumption/5294/14 "2020-03-20T12:13:36Z")

</div>

The strage things is that the increase of CPU start in February

 ![Schermata 2020-03-20 alle 13.11.52](https://storj-s3.bcdn.literatehosting.net/original/2X/3/3f1885bceb8179f8a4c52ecc20ac6155793c08f7.png) :

---

<div class="post-metadata">

**Author:** ![deathlessdd](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/deathlessdd/32/6067_2.png) [@deathlessdd](https://forum.storj.io/u/deathlessdd)\
**Post date:** [March 20, 2020, 12:17pm UTC](https://forum.storj.io/t/insane-node-memory-cpu-consumption/5294/15 "2020-03-20T12:17:28Z")

</div>

So is this node the same node that you have been running for how long? If I remember correctly there was hardly any activity in Jan. This month alone Im getting almost 100gigs perday again so actvity is pretty high right now.

---

<div class="post-metadata">

**Author:** ![brizio71](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/brizio71/32/1129_2.png) [@brizio71](https://forum.storj.io/u/brizio71)\
**Post date:** [March 20, 2020, 12:32pm UTC](https://forum.storj.io/t/insane-node-memory-cpu-consumption/5294/16 "2020-03-20T12:32:21Z")

</div>

Yes is the same node since the beginning, the CPU was lower when there was much more traffic that last weeks …so I don’t understand this CPU&MEM usage with lower traffic

---

<div class="post-metadata">

**Author:** ![deathlessdd](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/deathlessdd/32/6067_2.png) [@deathlessdd](https://forum.storj.io/u/deathlessdd)\
**Post date:** [March 20, 2020, 12:40pm UTC](https://forum.storj.io/t/insane-node-memory-cpu-consumption/5294/17 "2020-03-20T12:40:34Z")

</div>

So you didnt see high cpu when we were getting lots of data? Or were you not watching it this closely, cause from your graph you didn’t have high cpu/io usage when there was hardly any activity.  
What have you changed since dec to now?

---

<div class="post-metadata">

**Author:** ![brizio71](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/brizio71/32/1129_2.png) [@brizio71](https://forum.storj.io/u/brizio71)\
**Post date:** [March 20, 2020, 12:44pm UTC](https://forum.storj.io/t/insane-node-memory-cpu-consumption/5294/18 "2020-03-20T12:44:43Z")

</div>

Yes lower CPU with higher traffic, I didn’t change any on my node, just regular and automatic node version upgrade

---

<div class="post-metadata">

**Author:** ![deathlessdd](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/deathlessdd/32/6067_2.png) [@deathlessdd](https://forum.storj.io/u/deathlessdd)\
**Post date:** [March 20, 2020, 12:47pm UTC](https://forum.storj.io/t/insane-node-memory-cpu-consumption/5294/19 "2020-03-20T12:47:30Z")

</div>

Did you notice this right after you came to 34.6? I havent seen any kinda issues with the update. No memory leaks no constant cpu/io.

---

<div class="post-metadata">

**Author:** ![brizio71](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/brizio71/32/1129_2.png) [@brizio71](https://forum.storj.io/u/brizio71)\
**Post date:** [March 20, 2020, 1:14pm UTC](https://forum.storj.io/t/insane-node-memory-cpu-consumption/5294/20 "2020-03-20T13:14:48Z")

</div>

This happen before the 0.34.6 release, idk when exactly

[Next page](https://forum.storj.io/t/insane-node-memory-cpu-consumption/5294.md?page=2)
