If a ClickHouse node is unresponsive and you don't know what is happening, you can easily check the stacktraces of all the working threads by running:
If you can't run any query but you have access to the node running the process, you can execute the following command to send a TSTP signal to every thread of the process:
Stack traces will be printed in the ClickHouse logs.