y-scope / clp

Compressed Log Processor (CLP) is a free log management tool capable of compressing text logs and searching the compressed logs without decompression.

Home Page:https://yscope.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

webui: CPU usage is high after completing a query

kirkrodrigues opened this issue · comments

Bug

The CPU usage of the node process that serves the webui tends to hover around 30-40% after a query has finished. The theory is that this might be because the webui continues polling MongoDB after the query finishes.

CLP version

57d02f7

Environment

Ubuntu 22.04

Reproduction steps

  • Start the package
  • Compress any dataset
  • Run a query from the UI and wait for it to complete
  • Run top/htop on your machine and observe that the node process' CPU usage is higher than average