Title: Project Deletion Stuck with ClickHouse Timeout Error - v3.66.1 #11839
Replies: 2 comments
-
|
I cannot find specific information in the available documentation about the ClickHouse timeout configuration for project deletion or the exact deletion workflow behavior you're experiencing in v3.66.1. However, based on your investigation findings, here are some observations and recommendations: Regarding Your Stuck Projects: Since you've confirmed that all data has been successfully deleted from ClickHouse (0 rows in traces, observations, and scores tables), the timeout appears to be occurring during a verification or cleanup step rather than the actual data deletion. Potential Steps to Resolve:
For Configuration: I couldn't find documentation of a Next Steps: I recommend posting this detailed issue in the Langfuse GitHub Discussions where the team can provide version-specific guidance and potentially identify if this is a known issue in v3.66.1(1) 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @achrafelmtakham, we added improvements to project deletions in v3.147.0. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe your question
Description
Hello Langfuse Team and Community,
We are experiencing an issue with project deletion in our self-hosted Langfuse deployment. Projects remain stuck in "Project is being deleted" status indefinitely and never complete the deletion process
Problem
When deleting a project via the Langfuse UI:
Investigation Findings
2026-01-29T14:55:12.679Z error Queue job project-delete with id XX in project-delete failed Timeout error. 2026-01-29T15:05:12.780Z error Queue job project-delete with id XX in project-delete failed Timeout error.The timeout errors repeat approximately every 10 minutes as the job retries.
Error: Timeout error. at Socket.onTimeout (@clickhouse/client@1.11.1/.../node_base_connection.js:533:24) at Object.onceWrapper (node:events:638:28) at Socket.emit (node:events:536:35) at Socket._onTimeout (node:net:595:8)Inspecting the BullMQ queue in Redis shows:
All 10 retry attempts exhausted (atm: 10)
failedReason: Timeout error.Jobs have exponential backoff configured but keep failing
This is the surprising part. We verified that the stuck projects have ZERO data remaining in ClickHouse:
SELECT count(*) FROM traces WHERE project_id = '<project_id>'; -- Returns 0 SELECT count(*) FROM observations WHERE project_id = '<project_id>'; -- Returns 0 SELECT count(*) FROM scores WHERE project_id = '<project_id>'; -- Returns 0The ClickHouse data appears to have been successfully deleted, but the deletion job still times out.
Questions
I would greatly appreciate any guidance on
Langfuse Cloud or Self-Hosted?
Self-Hosted
If Self-Hosted
v3.66.1
If Langfuse Cloud
No response
SDK and integration versions
No response
Pre-Submission Checklist
Beta Was this translation helpful? Give feedback.
All reactions