apache / apache/iotdb

Constant High CPU Usage

オープン
#2,663 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
6.4k
フォーク
1.2k
平均マージ
1日 23時間
マージ済み PR(30日)
115

説明

**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%.

![image](https://user-images.githubusercontent.com/26259049/107284942-5ad4e200-6ac3-11eb-96b1-4e1be546174d.png)

**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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、デフォルト設定を使用して Ubuntu 20.04.1 上の IoTDB 11.0 で報告を再現し、その後、時間の経過に伴う CPU を監視して、stop-server/start-server の前後で比較します。持続的な CPU 増加の原因が特定され、低トラフィック状態で長時間実行しても CPU 使用率が上昇しなくなれば、問題は解決です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
databases
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。