Resolving Log Retention and Login Issues in Clickhouse
TLDR duuZ faced issues with log retention and login in Clickhouse. nitya-signoz provided solutions for log cleanup, PVC increase, and running one replica of the query service.

Mar 01, 2023 (7 months ago)
duuZ
04:30 AMnitya-signoz
04:40 AMWhat do you mean by
or do we have a way to clear that vial clickhouse command
? do you want to remove ttl?duuZ
04:59 AMnitya-signoz
05:01 AMkubectl exec -n platform -it chi-my-release-clickhouse-cluster-0-0-0 -- sh
clickhouse client
use signoz_logs;
truncate table signoz_logs.logs;
duuZ
05:02 AMnitya-signoz
05:02 AMnitya-signoz
05:03 AMduuZ
06:21 AMduuZ
06:22 AMduuZ
08:25 AMduuZ
01:39 PMnitya-signoz
02:37 PMnitya-signoz
02:38 PMyou can check them by
SELECT query_id, query FROM system.processes;
It will show you if the ttl is applied or not
nitya-signoz
02:40 PMduuZ
02:40 PMduuZ
02:41 PMnitya-signoz
02:41 PMduuZ
02:42 PM
nitya-signoz
02:43 PM• Not able to login
• ClickHouse disk full
right ?
duuZ
02:45 PMnitya-signoz
02:53 PMduuZ
02:55 PMnitya-signoz
02:55 PMduuZ
02:56 PMnitya-signoz
02:56 PMnitya-signoz
02:56 PMduuZ
02:57 PM
duuZ
03:27 PMMar 02, 2023 (7 months ago)
nitya-signoz
03:35 AMduuZ
06:05 AMduuZ
06:06 AMduuZ
06:21 AMnitya-signoz
06:34 AMduuZ
06:34 AMSigNoz Community
Indexed 825 threads (61% resolved)
Similar Threads
Services UI Goes Blank Due to Retention Issue with S3 Bucket
oluchi reports issue with services UI going blank after a while. Conversation explores possible reasons, such as S3 connection problems and disk space, but no resolution is reached.


Issues with SigNoz Setup and Data Persistence in AKS
Vaibhavi experienced issues setting up SigNoz in AKS, and faced data persistence issues after installation. Srikanth provided guidance on ClickHouse version compatibility and resource requirements, helping Vaibhavi troubleshoot and resolve the issue.
Dashboard Load Issues and Possible Solutions
Al experiences dashboard loading issues since updating to `0.18.1`. Srikanth believes the issue is not version related and suggests examining queries, memory resources, and server distribution for improvements.

Configuring ClickHouse for S3 Retention and EC2 Deployment
sarthak asks about configuring S3 data retention and if ClickHouse documentation is enough. vishal-signoz shares guide links and confirms ClickHouse will query S3 data, SigNoz handles everything, and using EC2 with vertical scaling is fine for their use case.

SigNoz crashing in k8s due to ClickHouse OOM
Travis reported SigNoz crashing in k8s due to ClickHouse OOM. The team suggested increasing resources for ClickHouse, and other troubleshooting steps, but the issue remains unresolved.