# Kubo 100% CPU usage causes device to crash

**URL:** <https://discuss.ipfs.tech/t/kubo-100-cpu-usage-causes-device-to-crash/15354>\
**Category:** Kubo\
**Tags:** go-ipfs\
**Created:** [October 17, 2022, 8:27am UTC](https://discuss.ipfs.tech/t/kubo-100-cpu-usage-causes-device-to-crash/15354 "2022-10-17T08:27:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wordlesswind](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/wordlesswind/32/7047_2.png) [@wordlesswind](https://discuss.ipfs.tech/u/wordlesswind)\
**Post date:** [October 17, 2022, 8:27am UTC](https://discuss.ipfs.tech/t/kubo-100-cpu-usage-causes-device-to-crash/15354/1 "2022-10-17T08:27:55Z")

</div>

![ipfs_CPU_2022-10-16](https://us1.discourse-cdn.com/flex020/uploads/ipfs1/original/2X/a/ac478b11d8ffb1c2b271822f492dc3cce2e108e0.png)

I tried four times to prove that it was not a specific configuration that was causing the problem. Four times with a fresh configuration, I only executed the `ipfs config Datastore.StorageMax 1G` command.

I can’t get the logs because I’m using Docker and the device is dead.

When a dead loop is entered, there is no read or write information on either the hard disk or the network.

I also noticed that ipfs caused occasional problems with Docker’s internal DNS, with some containers going offline because they couldn’t resolve the hostname of the database container.

Is there any way to solve these problems?

Thanks!

---

<div class="post-metadata">

**Author:** ![Xyncgas](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/xyncgas/32/5732_2.png) [@Xyncgas](https://discuss.ipfs.tech/u/Xyncgas)\
**Post date:** [October 17, 2022, 5:47pm UTC](https://discuss.ipfs.tech/t/kubo-100-cpu-usage-causes-device-to-crash/15354/2 "2022-10-17T17:47:23Z")

</div>

换个服务器试一下啦，log的话把机器重启就能够在docker找到了嘛

---

<div class="post-metadata">

**Author:** ![wordlesswind](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/wordlesswind/32/7047_2.png) [@wordlesswind](https://discuss.ipfs.tech/u/wordlesswind)\
**Post date:** [November 3, 2022, 11:05am UTC](https://discuss.ipfs.tech/t/kubo-100-cpu-usage-causes-device-to-crash/15354/3 "2022-11-03T11:05:27Z")

</div>

To avoid problems, I installed kubo on the host machine and enabled the `lowpower` profile.  
I guess this might have something to do with swap.
