Constant High CPU Usage
- Dominant language
- Java
- Stars
- 6.4k
- Forks
- 1.2k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 115
Description
**Describe the bug**
I have a small IOTDB instance running on Ubuntu. Over time the CPU utilisation is very high even though there are a low number of clients and transactions. The CPU usage appears to climb over time. This system has been running for several weeks without a restart. If I run "ps -ef" I can see that it is IOTDB that is using the CPU constantly.
Below is the CPU usage before and after I ran stop-server/start-server. The CPU dropped from > 80% down to < 10%.

**To Reproduce**
Steps to reproduce the behavior:
1. Run IOTDB 11.0 with default settings
**Expected behavior**
The CPU usage should not be so high.
**Screenshots**
See above.
**Desktop (please complete the following information):**
- OS: Ubuntu 20.04.1 LTS
- Browser Not Applicable
- Version 11.0
**Additional context**
None
Contributor guide
Research direction
Start by reproducing the report with IoTDB 11.0 on Ubuntu 20.04.1 using default settings, then monitor CPU over time and compare it before and after stop-server/start-server. The issue is resolved when the cause of the sustained CPU growth is identified and CPU usage no longer climbs during an extended low-traffic run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100