# High CPU Usage - Influx stops writing

**URL:** https://community.influxdata.com/t/high-cpu-usage-influx-stops-writing/29092
**Category:** InfluxDB 2
**Tags:** influxdb
**Created:** [March 16, 2023, 2:59pm UTC](https://community.influxdata.com/t/high-cpu-usage-influx-stops-writing/29092 "2023-03-16T14:59:12Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![alvaroqjunior](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/alvaroqjunior/32/11750_2.png) [@alvaroqjunior](https://community.influxdata.com/u/alvaroqjunior)
#### Post date: [March 16, 2023, 2:59pm UTC](https://community.influxdata.com/t/high-cpu-usage-influx-stops-writing/29092/1 "2023-03-16T14:59:12Z")

</div>

Hi Guys,

We are writing around 2k values per second and the influx is about 62% of CPU usage.  
After some days the memory starts to increase and the write operation stops.

Any ideas about that?

Thanks in advance

---

<div class="post-metadata">

### Author: ![Anaisdg](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/anaisdg/32/6401_2.png) [@Anaisdg](https://community.influxdata.com/u/Anaisdg)
#### Post date: [March 19, 2023, 8:31pm UTC](https://community.influxdata.com/t/high-cpu-usage-influx-stops-writing/29092/2 "2023-03-19T20:31:26Z")

</div>

Hello @alvaroqjunior,  
Welcome!  
Yes high mem and CPU usage is something that InfluxData is trying to address with the new storage engine. Learn about it here:

> **[InfluxDB Cloud (IOx) Documentation](https://docs.influxdata.com/influxdb/cloud-iox/)**
>
> InfluxDB Cloud is a hosted and managed version of InfluxDB backed by InfluxDB IOx, the time series platform designed to handle high write and query loads. Learn how to use and leverage InfluxDB Cloud in use cases such as monitoring metrics, IoT data,...

> **[Understanding InfluxDB IOx and the Commitment to Open Source | InfluxData](https://www.influxdata.com/blog/understanding-influxdb-iox-commitment-open-source/)**
>
> I wanted to learn more about how the open source components of the new engine help achieve the requirements for the new #InfluxDB engine and why they were chosen. This post covers that precise topic.

In the meantime if you decide not to migrate to InfluxDB Cloud powered by IOx I encourage you to try using downsampling tasks to reduce your data or expire them automatically more frequently. Or scale horizontally.
