# Electrs using 170% of my CPU

**URL:** <https://community.umbrel.com/t/electrs-using-170-of-my-cpu/7666>\
**Category:** Support and Troubleshooting\
**Created:** [May 12, 2022, 2:17pm UTC](https://community.umbrel.com/t/electrs-using-170-of-my-cpu/7666 "2022-05-12T14:17:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fbrichs](https://avatars.discourse-cdn.com/v4/letter/f/4da419/32.png) [@fbrichs](https://community.umbrel.com/u/fbrichs)\
**Post date:** [May 12, 2022, 2:17pm UTC](https://community.umbrel.com/t/electrs-using-170-of-my-cpu/7666/1 "2022-05-12T14:17:03Z")

</div>

Hi,

I have had umbrel running for a few months now. All the sudden I have noticed the electrs process is using a lot of CPU. I understand this is the indexing of electrum, but the node has been running for weeks and the blockchain has been fully syncronized

this is what I see on the log files

[2022-05-12T10:05:11.863Z INFO electrs::chain] chain updated: tip=00000000000000000001ce5467247a5788dfff880e5cf64ff96ca2cca34b640d, height=736046  
electrs | [2022-05-12T10:34:39.137Z INFO electrs::index] indexing 1 blocks: [736047…736047]  
electrs | [2022-05-12T10:34:39.322Z INFO electrs::chain] chain updated: tip=00000000000000000007dd1decbec734f5230eb1f38ee4e41ab3dfff4c8559b2, height=736047  
electrs | [2022-05-12T10:35:39.079Z INFO electrs::electrum] your wallet uses less efficient method of querying electrs, consider contacting the developer of your wallet. Reason: blockchain.scripthash.get\_history called for unsubscribed scripthash: b1c43c684d0c53f1c40cdd0a2a00303c0e8fa5751d3afde1717bd6436b6a79b8  
electrs | [2022-05-12T11:20:01.288Z INFO electrs::electrum] your wallet uses less efficient method of querying electrs, consider contacting the developer of your wallet. Reason: blockchain.scripthash.get\_balance called for unsubscribed scripthash: b1c43c684d0c53f1c40cdd0a2a00303c0e8fa5751d3afde1717bd6436b6a79b8  
electrs | [2022-05-12T12:02:45.782Z INFO electrs::electrum] your wallet uses less efficient method of querying electrs, consider contacting the developer of your wallet. Reason: blockchain.scripthash.get\_history called for unsubscribed scripthash: b1c43c684d0c53f1c40cdd0a2a00303c0e8fa5751d3afde1717bd6436b6a79b8

---

<div class="post-metadata">

**Author:** ![DarthCoin](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/darthcoin/32/1628_2.png) [@DarthCoin](https://community.umbrel.com/u/DarthCoin)\
**Post date:** [May 12, 2022, 6:03pm UTC](https://community.umbrel.com/t/electrs-using-170-of-my-cpu/7666/2 "2022-05-12T18:03:13Z")

</div>

LOL 170%?!  
That would be the amazing invention of the century, how to use 170% power from what you have.  
Just restart your node, wait to sync and catch up and all will be just fine.  
Sometimes when LND is taking a lot of memory and resources, electrs is getting struggled to catch up.  
A restart of the entire machine (and better a shut down, wait 10 seconds to clear up and then a start) will fix a lot of issues with resources, in special if you have a weak machine like a RPi.

---

<div class="post-metadata">

**Author:** ![fbrichs](https://avatars.discourse-cdn.com/v4/letter/f/4da419/32.png) [@fbrichs](https://community.umbrel.com/u/fbrichs)\
**Post date:** [May 12, 2022, 10:13pm UTC](https://community.umbrel.com/t/electrs-using-170-of-my-cpu/7666/3 "2022-05-12T22:13:34Z")

</div>

LOL  
sorry what I meant was 170% CPU as reported from the top command. I believe the top command reports CPU usage in relation to the power of 1 core.

Restarted and seems to be fine.  
Thanks
