Skip to content

[BUG/CRITICAL] ClickHouse load increases significantly depending on whether access to the SigNoz Web UI is allowed.Β #10590

@qkrqkstm

Description

@qkrqkstm

Bug description

Image

At some point, ClickHouse started showing sudden spike-like surges in both memory and CPU usage, and we’ve even seen OOMs occur as a result (Image A: 5-minute interval).

Image

When viewed over a 12-hour period, the issue appears even more severe (Image B: 12-hour interval).

Image

When user access to the Web UI is blocked by IP, the system stabilizes almost immediately (Image C: 5-minute interval).

I don't know what's causing this issue. I can only speculate.
Would a user leaving Live Tail running also count toward the Web UI tokenizer idle timeout or max timeout?

We are currently operating with the following settings:

  • Tokenizer idle timeout: 1 hour
  • Max timeout: 4 hours

Also, if multiple users leave Live Tail running for several minutes or even hours and then cancel it, is there any chance those sessions are not being cleaned up properly inside SigNoz and just keep accumulating β€” for example, due to some internal bug?
One thing I can reasonably infer is this: when access to the SigNoz Web UI is blocked for all users except my IP, the memory usage becomes stable on the Memory Dashboard. However, as soon as I allow user access again, the memory spikes return.

Expected behavior

Sudden ClickHouse Memory Spikes / OOM

How to reproduce

  1. At some point(An issue with an unknown cause), ClickHouse started experiencing repeated memory spikes.

  2. I blocked access for all user IPs except my own as the administrator.

  3. ClickHouse then entered a stable state.

  4. I re-enabled access for all users.

  5. The ClickHouse issue occurred again.

Version information

  • Signoz version: v0.114.1
  • Browser version: Chrome Latest
  • Your OS and version: Windows
  • Your CPU Architecture(ARM/Intel):

Additional context

Thank you for your bug report – we love squashing them!

Metadata

Metadata

Assignees

Labels

questionQuestions about using the SigNoz

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions