apache / apache/iotdb

Constant High CPU Usage

Abierto
#2,663 4 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Java
Estrellas
6.4k
Forks
1.2k
Merge medio
1 d 23 h
PR fusionados (30 d)
115

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comience reproduciendo el informe con IoTDB 11.0 en Ubuntu 20.04.1 usando la configuración predeterminada; después, supervise la CPU a lo largo del tiempo y compárela antes y después de stop-server/start-server. El problema se habrá resuelto cuando se identifique la causa del crecimiento sostenido de la CPU y el uso de la CPU deje de aumentar durante una ejecución prolongada con poco tráfico.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
java
Área
databases
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.