apache / apache/iotdb

Constant High CPU Usage

Aperta
#2,663 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
6.4k
Fork
1.2k
Merge medio
1g 23h
PR unite (30g)
115

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Iniziare riproducendo il report con IoTDB 11.0 su Ubuntu 20.04.1 usando le impostazioni predefinite, quindi monitorare la CPU nel tempo e confrontarla prima e dopo stop-server/start-server. Il problema è risolto quando viene identificata la causa dell’aumento sostenuto della CPU e l’utilizzo della CPU non aumenta più durante un’esecuzione prolungata a basso traffico.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java
Ambito
databases
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.