# Influx OSS (v 2.7.0) process taking too much CPU

**URL:** <https://community.influxdata.com/t/influx-oss-v-2-7-0-process-taking-too-much-cpu/33646>\
**Category:** InfluxDB 2\
**Tags:** influxdb, flux\
**Created:** [March 21, 2024, 12:44pm UTC](https://community.influxdata.com/t/influx-oss-v-2-7-0-process-taking-too-much-cpu/33646 "2024-03-21T12:44:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeel\_Dhamsaniya](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/jeel_dhamsaniya/32/15306_2.png) [@Jeel\_Dhamsaniya](https://community.influxdata.com/u/Jeel_Dhamsaniya)\
**Post date:** [March 21, 2024, 12:44pm UTC](https://community.influxdata.com/t/influx-oss-v-2-7-0-process-taking-too-much-cpu/33646/1 "2024-03-21T12:44:37Z")

</div>

# Environment Information

> **OS** : Ubuntu 22.04.1 LTS  
> **Influx DB OSS version** : 2.7.0  
> **Memory** : 8GB  
> **Processor** : Intel Core i5-7500T  
> **Disk capacity** : 256GB  
> **OS type** : 64 bit  
> **Windowing system** : X11  
> **CPU Info** :
> 
> ![Screenshot from 2024-03-19 17-56-05 (1)](https://us1.discourse-cdn.com/flex023/uploads/influxdata/original/2X/f/f37b3f34a00a938fec0cb073ce3e57ff954e1743.png)

# Database schema

We maintain 3 measurements namely

1. data\_15s
2. data\_5min
3. data\_1hr

Our server writes points in **data\_15s** measurement every 15 seconds for all the devices. And **data\_5min** and **data\_1hr** contain downsampled data. **data\_5min** contain downsampled data of the last 20 **data\_15s** points and **data\_1hr** contains downsampled data of last 12 points of **data\_5min** measurement.

We maintain around 6 tags and we store around 160 fields.

# Problem description

We just migrated from influx v1 to v2 and were doing testing on our product. We kept everything running for around 2 months and suddenly one day our PC started lagging too much after digging we found that the **influx process** was consuming around **300%** CPU (we have 4 cores). We monitored CPU utilization at the start when there was no data and it was very normal at that time. We had never monitored CPU utilization after that until this happened. The **database size** was around **3.5GB** at this time. Also we were successful in reproducing the issue multiple times using that dataset. Influx process took around **1.1 minutes** to restart every time.

We have many **multi-million dollar** sites running smoothly in **Influx version 1** having **database size** of around **250GB+**.

IDK why Influxdb 2 is not working properly even for this small dataset. Also, IDK if I have messed up something.

### We are stuck on this issue. Any help from the InfluxDB team would be appreciated.

---

<div class="post-metadata">

**Author:** ![Zoe\_Steinkamp](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/zoe_steinkamp/32/13300_2.png) [@Zoe\_Steinkamp](https://community.influxdata.com/u/Zoe_Steinkamp)\
**Post date:** [March 21, 2024, 4:14pm UTC](https://community.influxdata.com/t/influx-oss-v-2-7-0-process-taking-too-much-cpu/33646/2 "2024-03-21T16:14:52Z")

</div>

Mentioned in Slack. But im not sure how to help with this issue. If anyone else has any ideas please let us know
