You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2021/02/08 21:53:44 UTC

[GitHub] [iotdb] ope-nz opened a new issue #2663: Constant High CPU Usage

ope-nz opened a new issue #2663:
URL: https://github.com/apache/iotdb/issues/2663


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


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [iotdb] qiaojialin commented on issue #2663: Constant High CPU Usage

Posted by GitBox <gi...@apache.org>.
qiaojialin commented on issue #2663:
URL: https://github.com/apache/iotdb/issues/2663#issuecomment-775609624


   Step 1: Could you upload the logs during the high cpu usage?
   
   Step 2: If possible, could you please use JProfiler to record the CPU when the CPU usage is high, and save it as a .jps snapshot file, then we can see what happens.
   
   Step 3: Some config that may solve the problem:
   
   * iotdb-engine.properties
       * enable_unseq_compaction=false


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [iotdb] ope-nz commented on issue #2663: Constant High CPU Usage

Posted by GitBox <gi...@apache.org>.
ope-nz commented on issue #2663:
URL: https://github.com/apache/iotdb/issues/2663#issuecomment-775492748


   I have upgraded to 11.2 so I will monitor and see if the issue persists.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [iotdb] ope-nz commented on issue #2663: Constant High CPU Usage

Posted by GitBox <gi...@apache.org>.
ope-nz commented on issue #2663:
URL: https://github.com/apache/iotdb/issues/2663#issuecomment-789129291


   I am still having the same problem even with "enable_unseq_compaction=false"
   
   ![image](https://user-images.githubusercontent.com/26259049/109697468-1f759100-7bf3-11eb-8f03-678d9ca4f27a.png)
   
   I have restarted to captured the logs.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [iotdb] ope-nz commented on issue #2663: Constant High CPU Usage

Posted by GitBox <gi...@apache.org>.
ope-nz commented on issue #2663:
URL: https://github.com/apache/iotdb/issues/2663#issuecomment-780765512


   I have been monitoring the CPU over the past week or so. The image below shows a weeks worth of CPU data. Notice that after a few days the CPU is back up high.
   
   ![image](https://user-images.githubusercontent.com/26259049/108251140-f0572c80-71bb-11eb-954b-c956fe6ed688.png)
   
   There are no errors in the logs - most logging is info level with query reponse time.
   
   I am going to restart the database with "enable_unseq_compaction=false" and see how that goes.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org