2025.04.04 22:08:36.093715 [ 353 ] {} Context: Server was built with thread sanitizer. It will work slowly. 2025.04.04 22:08:37.460249 [ 353 ] {} KeeperLogStore: No logs exists in /var/lib/clickhouse/coordination/logs. It's Ok if it's the first run of clickhouse-keeper. 2025.04.04 22:08:37.461642 [ 353 ] {} KeeperLogStore: Removing all changelogs 2025.04.04 22:08:37.462968 [ 353 ] {} KeeperServer: Got 1000000000000000 value for setting 'reserved_log_items' which is bigger than int32_t max value, lowering value to 2147483647. 2025.04.04 22:08:37.473615 [ 353 ] {} RaftInstance: invalid election timeout lower bound detected, adjusted to 0 2025.04.04 22:08:37.473690 [ 353 ] {} RaftInstance: invalid election timeout upper bound detected, adjusted to 0 2025.04.04 22:08:37.525257 [ 961 ] {} RaftInstance: Election timeout, initiate leader election 2025.04.04 22:08:37.574542 [ 353 ] {} Access(local_directory): File /var/lib/clickhouse/access/users.list doesn't exist 2025.04.04 22:08:37.574598 [ 353 ] {} Access(local_directory): Recovering lists in directory /var/lib/clickhouse/access/ 2025.04.04 22:08:37.600553 [ 353 ] {} Context: Delay accounting is not enabled, OSIOWaitMicroseconds will not be gathered. You can enable it using `echo 1 > /proc/sys/kernel/task_delayacct` or by using sysctl. 2025.04.04 22:08:37.601785 [ 353 ] {} Context: The setting 'allow_remote_fs_zero_copy_replication' is enabled for MergeTree tables. But the feature of 'zero-copy replication' is under development and is not ready for production. The usage of this feature can lead to data corruption and loss. The setting should be disabled in production. 2025.04.04 22:08:39.160429 [ 364 ] {c945dcfa-2c5c-4684-be1d-649bc90e71a1} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE hits_v1; to attach existing table or CREATE TABLE hits_v1 ; to create new table or ATTACH TABLE hits_v1 FROM '/path/to/data/'
; to create new table and attach data. 2025.04.04 22:08:49.754495 [ 364 ] {2baf7958-b179-4aa0-aa99-9e27cd590586} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE visits_v1; to attach existing table or CREATE TABLE visits_v1
; to create new table or ATTACH TABLE visits_v1 FROM '/path/to/data/'
; to create new table and attach data. 2025.04.04 22:15:38.964513 [ 1627 ] {b7346dd8-3d92-42c1-898f-7113dd559255} executeQuery: Code: 210. DB::Exception: I/O error: Broken pipe, while writing to socket ([::1]:8123 -> [::1]:60124): While executing TabSeparatedRowOutputFormat. (NETWORK_ERROR) (version 24.12.2.20230.altinityantalya (altinity build)) (from [::1]:60124) (in query: SELECT 1 /*hung check*/ ), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. ./src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000105c3eef 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:116: DB::WriteBufferFromPocoSocket::socketSendBytes(char const*, unsigned long) @ 0x00000000105c502a 4. ./build_docker/./src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:69: DB::WriteBufferFromHTTPServerResponse::writeHeaderProgressImpl(char const*) @ 0x000000001c43deb3 5. ./build_docker/./src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:77: DB::WriteBufferFromHTTPServerResponse::finishSendHeaders() @ 0x000000001c43e373 6. ./build_docker/./src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:141: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x000000001c43e6ee 7. DB::WriteBuffer::next() @ 0x0000000007ba6abc 8. ./build_docker/./src/Processors/Formats/IOutputFormat.cpp:111: DB::IOutputFormat::flush() @ 0x000000001c54220a 9. ./build_docker/./src/Processors/Formats/IOutputFormat.cpp:104: DB::IOutputFormat::work() @ 0x000000001c542017 10. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:49: DB::ExecutionThreadContext::executeTask() @ 0x000000001c530667 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001c52016c 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001c51f4ec 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:127: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001c51f1ca 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:112: DB::CompletedPipelineExecutor::execute() @ 0x000000001c51d9ab 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1798: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function const&, std::optional const&)>) @ 0x0000000019e2454c 16. ./build_docker/./src/Server/HTTPHandler.cpp:582: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001c35d292 17. ./build_docker/./src/Server/HTTPHandler.cpp:751: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001c3613db 18. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:71: DB::HTTPServerConnection::run() @ 0x000000001c436b5c 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000020c0da83 20. ./build_docker/./base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000020c0e2f2 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000020b870c3 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:45: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000020b85370 23. ./base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000020b8384a 24. __tsan_thread_start_func @ 0x0000000007b08428 25. ? @ 0x00007f268fd97ac3 26. ? @ 0x00007f268fe29850 2025.04.04 22:15:38.975759 [ 1627 ] {b7346dd8-3d92-42c1-898f-7113dd559255} DynamicQueryHandler: Code: 210. DB::Exception: I/O error: Broken pipe, while writing to socket ([::1]:8123 -> [::1]:60124): While executing TabSeparatedRowOutputFormat. (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. ./src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000105c3eef 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:116: DB::WriteBufferFromPocoSocket::socketSendBytes(char const*, unsigned long) @ 0x00000000105c502a 4. ./build_docker/./src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:69: DB::WriteBufferFromHTTPServerResponse::writeHeaderProgressImpl(char const*) @ 0x000000001c43deb3 5. ./build_docker/./src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:77: DB::WriteBufferFromHTTPServerResponse::finishSendHeaders() @ 0x000000001c43e373 6. ./build_docker/./src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:141: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x000000001c43e6ee 7. DB::WriteBuffer::next() @ 0x0000000007ba6abc 8. ./build_docker/./src/Processors/Formats/IOutputFormat.cpp:111: DB::IOutputFormat::flush() @ 0x000000001c54220a 9. ./build_docker/./src/Processors/Formats/IOutputFormat.cpp:104: DB::IOutputFormat::work() @ 0x000000001c542017 10. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:49: DB::ExecutionThreadContext::executeTask() @ 0x000000001c530667 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001c52016c 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001c51f4ec 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:127: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001c51f1ca 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:112: DB::CompletedPipelineExecutor::execute() @ 0x000000001c51d9ab 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1798: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function const&, std::optional const&)>) @ 0x0000000019e2454c 16. ./build_docker/./src/Server/HTTPHandler.cpp:582: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001c35d292 17. ./build_docker/./src/Server/HTTPHandler.cpp:751: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001c3613db 18. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:71: DB::HTTPServerConnection::run() @ 0x000000001c436b5c 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000020c0da83 20. ./build_docker/./base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000020c0e2f2 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000020b870c3 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:45: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000020b85370 23. ./base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000020b8384a 24. __tsan_thread_start_func @ 0x0000000007b08428 25. ? @ 0x00007f268fd97ac3 26. ? @ 0x00007f268fe29850 (version 24.12.2.20230.altinityantalya (altinity build)) 2025.04.04 22:15:39.092568 [ 1627 ] {b7346dd8-3d92-42c1-898f-7113dd559255} bool DB::WriteBufferFromHTTPServerResponse::cancelWithException(HTTPServerRequest &, int, const std::string &, WriteBuffer *): Failed to send exception to the response write buffer.: Code: 236. DB::Exception: Write buffer has been canceled. (ABORTED), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b95ade 3. DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x0000000007ba59ba 4. ./build_docker/./src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:248: DB::WriteBufferFromHTTPServerResponse::cancelWithException(DB::HTTPServerRequest&, int, String const&, DB::WriteBuffer*) @ 0x000000001c4408ec 5. ./build_docker/./src/Server/HTTPHandler.cpp:652: DB::HTTPHandler::trySendExceptionToClient(int, String const&, DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&) @ 0x000000001c35f938 6. ./build_docker/./src/Server/HTTPHandler.cpp:769: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001c362a03 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:71: DB::HTTPServerConnection::run() @ 0x000000001c436b5c 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000020c0da83 9. ./build_docker/./base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000020c0e2f2 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000020b870c3 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:45: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000020b85370 12. ./base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000020b8384a 13. __tsan_thread_start_func @ 0x0000000007b08428 14. ? @ 0x00007f268fd97ac3 15. ? @ 0x00007f268fe29850 (version 24.12.2.20230.altinityantalya (altinity build)) 2025.04.04 22:22:07.450187 [ 1951 ] {5a946fb7-98b2-45ee-9cf9-8fac72f06a75} executeQuery: Code: 307. DB::Exception: Limit for rows or bytes to read exceeded, max bytes: 572.20 MiB, current bytes: 574.92 MiB: While executing MergeTreeSelect(pool: ReadPool, algorithm: Thread). (TOO_MANY_BYTES) (version 24.12.2.20230.altinityantalya (altinity build)) (from [::1]:58238) (comment: 00091_prewhere_two_conditions.sql) (in query: SELECT uniq(URL) FROM test.hits WHERE toTimeZone(EventTime, 'Asia/Dubai') >= '2014-03-20 00:00:00' AND toTimeZone(EventTime, 'Asia/Dubai') < '2014-03-21 00:00:00';), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b95ade 3. ./src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x00000000183e154c 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:43: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x00000000183e0d19 5. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x00000000183a95c3 6. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x000000001c530712 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001c52016c 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:256: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001c521313 9. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104f2db2 10. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104fa886 11. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000104fa7a2 12. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104ef7ee 13. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104f79dc 14. __tsan_thread_start_func @ 0x0000000007b08428 15. ? @ 0x00007f268fd97ac3 16. ? @ 0x00007f268fe29850 2025.04.04 22:22:07.465355 [ 1951 ] {} TCPHandler: Code: 307. DB::Exception: Limit for rows or bytes to read exceeded, max bytes: 572.20 MiB, current bytes: 574.92 MiB: While executing MergeTreeSelect(pool: ReadPool, algorithm: Thread). (TOO_MANY_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b95ade 3. ./src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x00000000183e154c 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:43: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x00000000183e0d19 5. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x00000000183a95c3 6. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x000000001c530712 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001c52016c 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:256: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001c521313 9. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104f2db2 10. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104fa886 11. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000104fa7a2 12. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104ef7ee 13. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104f79dc 14. __tsan_thread_start_func @ 0x0000000007b08428 15. ? @ 0x00007f268fd97ac3 16. ? @ 0x00007f268fe29850 2025.04.04 22:22:16.533972 [ 1951 ] {da207470-0d00-484c-8efa-5587c914533d} executeQuery: Code: 307. DB::Exception: Limit for rows or bytes to read exceeded, max bytes: 572.20 MiB, current bytes: 573.46 MiB: While executing MergeTreeSelect(pool: ReadPoolInOrder, algorithm: InOrder). (TOO_MANY_BYTES) (version 24.12.2.20230.altinityantalya (altinity build)) (from [::1]:58238) (comment: 00091_prewhere_two_conditions.sql) (in query: SELECT uniq(URL) FROM test.hits WHERE toTimeZone(EventTime, 'Asia/Dubai') >= '2014-03-20 00:00:00' AND URL != '' AND toTimeZone(EventTime, 'Asia/Dubai') < '2014-03-21 00:00:00';), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b95ade 3. ./src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x00000000183e154c 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:43: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x00000000183e0d19 5. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x00000000183a95c3 6. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x000000001c530712 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001c52016c 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:256: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001c521313 9. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104f2db2 10. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104fa886 11. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000104fa7a2 12. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104ef7ee 13. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104f79dc 14. __tsan_thread_start_func @ 0x0000000007b08428 15. ? @ 0x00007f268fd97ac3 16. ? @ 0x00007f268fe29850 2025.04.04 22:22:16.572334 [ 1951 ] {} TCPHandler: Code: 307. DB::Exception: Limit for rows or bytes to read exceeded, max bytes: 572.20 MiB, current bytes: 573.46 MiB: While executing MergeTreeSelect(pool: ReadPoolInOrder, algorithm: InOrder). (TOO_MANY_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b95ade 3. ./src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x00000000183e154c 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:43: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x00000000183e0d19 5. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x00000000183a95c3 6. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x000000001c530712 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001c52016c 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:256: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001c521313 9. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104f2db2 10. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104fa886 11. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000104fa7a2 12. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104ef7ee 13. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104f79dc 14. __tsan_thread_start_func @ 0x0000000007b08428 15. ? @ 0x00007f268fd97ac3 16. ? @ 0x00007f268fe29850 2025.04.04 22:22:23.416359 [ 1951 ] {0bc23798-1b40-4a8f-9221-735ef65f1f61} executeQuery: Code: 307. DB::Exception: Limit for rows or bytes to read exceeded, max bytes: 572.20 MiB, current bytes: 573.08 MiB: While executing MergeTreeSelect(pool: ReadPool, algorithm: Thread). (TOO_MANY_BYTES) (version 24.12.2.20230.altinityantalya (altinity build)) (from [::1]:58238) (comment: 00091_prewhere_two_conditions.sql) (in query: SELECT uniq(URL) FROM test.hits PREWHERE toTimeZone(EventTime, 'Asia/Dubai') >= '2014-03-20 00:00:00' AND URL != '' AND toTimeZone(EventTime, 'Asia/Dubai') < '2014-03-21 00:00:00';), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b95ade 3. ./src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x00000000183e154c 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:43: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x00000000183e0d19 5. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x00000000183a95c3 6. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x000000001c530712 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001c52016c 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:256: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001c521313 9. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104f2db2 10. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104fa886 11. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000104fa7a2 12. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104ef7ee 13. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104f79dc 14. __tsan_thread_start_func @ 0x0000000007b08428 15. ? @ 0x00007f268fd97ac3 16. ? @ 0x00007f268fe29850 2025.04.04 22:22:23.438718 [ 1951 ] {} TCPHandler: Code: 307. DB::Exception: Limit for rows or bytes to read exceeded, max bytes: 572.20 MiB, current bytes: 573.08 MiB: While executing MergeTreeSelect(pool: ReadPool, algorithm: Thread). (TOO_MANY_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b95ade 3. ./src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x00000000183e154c 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:43: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x00000000183e0d19 5. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x00000000183a95c3 6. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x000000001c530712 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001c52016c 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:256: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001c521313 9. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104f2db2 10. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104fa886 11. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000104fa7a2 12. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104ef7ee 13. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104f79dc 14. __tsan_thread_start_func @ 0x0000000007b08428 15. ? @ 0x00007f268fd97ac3 16. ? @ 0x00007f268fe29850 2025.04.04 22:23:25.361308 [ 1949 ] {b72e0af3-c764-499d-bf37-d9dfd32068f7} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.88 million. (TOO_MANY_ROWS) (version 24.12.2.20230.altinityantalya (altinity build)) (from [::1]:56922) (comment: 00175_counting_resources_in_subqueries.sql) (in query: SELECT 1 = (SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID));), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b95ade 3. ./src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000183e140c 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x00000000183e0bec 5. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:72: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x00000000183e0ebd 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:315: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001cbc3b10 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:2082: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001cbe2425 8. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001cb7e5a3 9. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001cbb08d9 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:261: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x0000000019993b57 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:228: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x00000000199937b0 12. ./build_docker/./src/Analyzer/Resolve/QueryAnalyzer.cpp:604: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000018aa0b57 13. ./build_docker/./src/Analyzer/Resolve/QueryAnalyzer.cpp:3854: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000018a99248 14. ./build_docker/./src/Analyzer/Resolve/QueryAnalyzer.cpp:3975: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x0000000018a97b18 15. ./build_docker/./src/Analyzer/Resolve/QueryAnalyzer.cpp:2879: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000018ab502d 16. ./build_docker/./src/Analyzer/Resolve/QueryAnalyzer.cpp:3817: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000018a98d87 17. ./build_docker/./src/Analyzer/Resolve/QueryAnalyzer.cpp:3975: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x0000000018a97b18 18. ./build_docker/./src/Analyzer/Resolve/QueryAnalyzer.cpp:4299: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000018acc285 19. ./build_docker/./src/Analyzer/Resolve/QueryAnalyzer.cpp:5563: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000018a907f6 20. ./build_docker/./src/Analyzer/Resolve/QueryAnalyzer.cpp:172: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000018a8f627 21. ./build_docker/./src/Analyzer/Resolve/QueryAnalysisPass.cpp:18: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x0000000018a8ea85 22. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:184: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001950fac7 23. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:149: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000019992487 24. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:167: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001998fa20 25. ./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::unique_ptr> std::__function::__policy_invoker> (DB::InterpreterFactory::Arguments const&)>::__call_impl> (DB::InterpreterFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::InterpreterFactory::Arguments const&) @ 0x00000000199941f0 26. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001990df0b 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1305: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019e1e316 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1535: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x0000000019e19e76 29. ./build_docker/./src/Server/TCPHandler.cpp:656: DB::TCPHandler::runImpl() @ 0x000000001c407445 30. ./build_docker/./src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x000000001c425ea8 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000020c0da83 2025.04.04 22:23:25.362731 [ 1949 ] {} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.88 million. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b95ade 3. ./src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000183e140c 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x00000000183e0bec 5. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:72: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x00000000183e0ebd 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:315: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001cbc3b10 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:2082: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001cbe2425 8. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001cb7e5a3 9. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001cbb08d9 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:261: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x0000000019993b57 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:228: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x00000000199937b0 12. ./build_docker/./src/Analyzer/Resolve/QueryAnalyzer.cpp:604: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000018aa0b57 13. ./build_docker/./src/Analyzer/Resolve/QueryAnalyzer.cpp:3854: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000018a99248 14. ./build_docker/./src/Analyzer/Resolve/QueryAnalyzer.cpp:3975: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x0000000018a97b18 15. ./build_docker/./src/Analyzer/Resolve/QueryAnalyzer.cpp:2879: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000018ab502d 16. ./build_docker/./src/Analyzer/Resolve/QueryAnalyzer.cpp:3817: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000018a98d87 17. ./build_docker/./src/Analyzer/Resolve/QueryAnalyzer.cpp:3975: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x0000000018a97b18 18. ./build_docker/./src/Analyzer/Resolve/QueryAnalyzer.cpp:4299: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000018acc285 19. ./build_docker/./src/Analyzer/Resolve/QueryAnalyzer.cpp:5563: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000018a907f6 20. ./build_docker/./src/Analyzer/Resolve/QueryAnalyzer.cpp:172: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000018a8f627 21. ./build_docker/./src/Analyzer/Resolve/QueryAnalysisPass.cpp:18: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x0000000018a8ea85 22. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:184: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001950fac7 23. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:149: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000019992487 24. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:167: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001998fa20 25. ./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::unique_ptr> std::__function::__policy_invoker> (DB::InterpreterFactory::Arguments const&)>::__call_impl> (DB::InterpreterFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::InterpreterFactory::Arguments const&) @ 0x00000000199941f0 26. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001990df0b 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1305: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019e1e316 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1535: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x0000000019e19e76 29. ./build_docker/./src/Server/TCPHandler.cpp:656: DB::TCPHandler::runImpl() @ 0x000000001c407445 30. ./build_docker/./src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x000000001c425ea8 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000020c0da83 2025.04.04 22:23:25.482084 [ 1949 ] {4e7aea6e-9026-4f36-860d-c64bc9f24efd} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.88 million. (TOO_MANY_ROWS) (version 24.12.2.20230.altinityantalya (altinity build)) (from [::1]:56922) (comment: 00175_counting_resources_in_subqueries.sql) (in query: SELECT 1 IN (SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID));), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b95ade 3. ./src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000183e140c 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x00000000183e0bec 5. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:72: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x00000000183e0ebd 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:315: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001cbc3b10 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:2082: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001cbe2425 8. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001cb7e5a3 9. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001cbb08d9 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:261: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x0000000019993b57 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:228: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x00000000199937b0 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1368: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019e1ee59 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1535: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x0000000019e19e76 14. ./build_docker/./src/Server/TCPHandler.cpp:656: DB::TCPHandler::runImpl() @ 0x000000001c407445 15. ./build_docker/./src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x000000001c425ea8 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000020c0da83 17. ./build_docker/./base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000020c0e2f2 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000020b870c3 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:45: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000020b85370 20. ./base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000020b8384a 21. __tsan_thread_start_func @ 0x0000000007b08428 22. ? @ 0x00007f268fd97ac3 23. ? @ 0x00007f268fe29850 2025.04.04 22:23:25.483487 [ 1949 ] {} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.88 million. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b95ade 3. ./src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000183e140c 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x00000000183e0bec 5. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:72: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x00000000183e0ebd 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:315: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001cbc3b10 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:2082: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001cbe2425 8. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001cb7e5a3 9. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001cbb08d9 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:261: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x0000000019993b57 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:228: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x00000000199937b0 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1368: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019e1ee59 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1535: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x0000000019e19e76 14. ./build_docker/./src/Server/TCPHandler.cpp:656: DB::TCPHandler::runImpl() @ 0x000000001c407445 15. ./build_docker/./src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x000000001c425ea8 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000020c0da83 17. ./build_docker/./base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000020c0e2f2 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000020b870c3 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:45: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000020b85370 20. ./base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000020b8384a 21. __tsan_thread_start_func @ 0x0000000007b08428 22. ? @ 0x00007f268fd97ac3 23. ? @ 0x00007f268fe29850 2025.04.04 22:23:25.762914 [ 1949 ] {8df32280-ae8c-4a2b-a68b-1bfbb92c20f9} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 15.00 million, current rows: 17.76 million: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (TOO_MANY_ROWS) (version 24.12.2.20230.altinityantalya (altinity build)) (from [::1]:56922) (comment: 00175_counting_resources_in_subqueries.sql) (in query: SELECT count() IN (SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) FROM test.hits WHERE NOT ignore(AdvEngineID);), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b95ade 3. ./src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000183e140c 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x00000000183e0bec 5. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x00000000183a95c3 6. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x000000001c530712 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001c52016c 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:256: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001c521313 9. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104f2db2 10. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104fa886 11. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000104fa7a2 12. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104ef7ee 13. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104f79dc 14. __tsan_thread_start_func @ 0x0000000007b08428 15. ? @ 0x00007f268fd97ac3 16. ? @ 0x00007f268fe29850 2025.04.04 22:23:25.766622 [ 1949 ] {} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 15.00 million, current rows: 17.76 million: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b95ade 3. ./src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000183e140c 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x00000000183e0bec 5. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x00000000183a95c3 6. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x000000001c530712 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001c52016c 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:256: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001c521313 9. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104f2db2 10. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104fa886 11. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000104fa7a2 12. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104ef7ee 13. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104f79dc 14. __tsan_thread_start_func @ 0x0000000007b08428 15. ? @ 0x00007f268fd97ac3 16. ? @ 0x00007f268fe29850 2025.04.04 22:23:26.097135 [ 1949 ] {21924002-ccf2-4c83-a13c-2a250ff5bd7a} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.88 million. (TOO_MANY_ROWS) (version 24.12.2.20230.altinityantalya (altinity build)) (from [::1]:56922) (comment: 00175_counting_resources_in_subqueries.sql) (in query: SELECT count() FROM test.hits WHERE CounterID > (SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID));), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b95ade 3. ./src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000183e140c 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x00000000183e0bec 5. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:72: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x00000000183e0ebd 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:315: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001cbc3b10 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:2082: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001cbe2425 8. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001cb7e5a3 9. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001cbb08d9 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:261: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x0000000019993b57 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:228: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x00000000199937b0 12. ./build_docker/./src/Analyzer/Resolve/QueryAnalyzer.cpp:604: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000018aa0b57 13. ./build_docker/./src/Analyzer/Resolve/QueryAnalyzer.cpp:3854: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000018a99248 14. ./build_docker/./src/Analyzer/Resolve/QueryAnalyzer.cpp:3975: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x0000000018a97b18 15. ./build_docker/./src/Analyzer/Resolve/QueryAnalyzer.cpp:2879: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000018ab502d 16. ./build_docker/./src/Analyzer/Resolve/QueryAnalyzer.cpp:3817: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000018a98d87 17. ./build_docker/./src/Analyzer/Resolve/QueryAnalyzer.cpp:5588: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000018a90aa9 18. ./build_docker/./src/Analyzer/Resolve/QueryAnalyzer.cpp:172: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000018a8f627 19. ./build_docker/./src/Analyzer/Resolve/QueryAnalysisPass.cpp:18: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x0000000018a8ea85 20. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:184: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001950fac7 21. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:149: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000019992487 22. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:167: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001998fa20 23. ./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::unique_ptr> std::__function::__policy_invoker> (DB::InterpreterFactory::Arguments const&)>::__call_impl> (DB::InterpreterFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::InterpreterFactory::Arguments const&) @ 0x00000000199941f0 24. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001990df0b 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1305: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019e1e316 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1535: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x0000000019e19e76 27. ./build_docker/./src/Server/TCPHandler.cpp:656: DB::TCPHandler::runImpl() @ 0x000000001c407445 28. ./build_docker/./src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x000000001c425ea8 29. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000020c0da83 30. ./build_docker/./base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000020c0e2f2 31. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000020b870c3 2025.04.04 22:23:26.100824 [ 1949 ] {} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.88 million. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b95ade 3. ./src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000183e140c 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x00000000183e0bec 5. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:72: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x00000000183e0ebd 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:315: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001cbc3b10 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:2082: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001cbe2425 8. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001cb7e5a3 9. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001cbb08d9 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:261: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x0000000019993b57 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:228: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x00000000199937b0 12. ./build_docker/./src/Analyzer/Resolve/QueryAnalyzer.cpp:604: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000018aa0b57 13. ./build_docker/./src/Analyzer/Resolve/QueryAnalyzer.cpp:3854: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000018a99248 14. ./build_docker/./src/Analyzer/Resolve/QueryAnalyzer.cpp:3975: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x0000000018a97b18 15. ./build_docker/./src/Analyzer/Resolve/QueryAnalyzer.cpp:2879: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000018ab502d 16. ./build_docker/./src/Analyzer/Resolve/QueryAnalyzer.cpp:3817: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000018a98d87 17. ./build_docker/./src/Analyzer/Resolve/QueryAnalyzer.cpp:5588: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000018a90aa9 18. ./build_docker/./src/Analyzer/Resolve/QueryAnalyzer.cpp:172: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000018a8f627 19. ./build_docker/./src/Analyzer/Resolve/QueryAnalysisPass.cpp:18: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x0000000018a8ea85 20. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:184: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001950fac7 21. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:149: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000019992487 22. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:167: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001998fa20 23. ./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::unique_ptr> std::__function::__policy_invoker> (DB::InterpreterFactory::Arguments const&)>::__call_impl> (DB::InterpreterFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::InterpreterFactory::Arguments const&) @ 0x00000000199941f0 24. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001990df0b 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1305: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019e1e316 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1535: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x0000000019e19e76 27. ./build_docker/./src/Server/TCPHandler.cpp:656: DB::TCPHandler::runImpl() @ 0x000000001c407445 28. ./build_docker/./src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x000000001c425ea8 29. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000020c0da83 30. ./build_docker/./base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000020c0e2f2 31. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000020b870c3 2025.04.04 22:23:26.341772 [ 1949 ] {89e93167-341b-4f81-acbd-6afbb9290cf2} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 10.00 million, current rows: 13.12 million: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (TOO_MANY_ROWS) (version 24.12.2.20230.altinityantalya (altinity build)) (from [::1]:56922) (comment: 00175_counting_resources_in_subqueries.sql) (in query: SELECT count() FROM test.hits WHERE CounterID < (SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID));), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b95ade 3. ./src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000183e140c 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x00000000183e0bec 5. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x00000000183a95c3 6. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x000000001c530712 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001c52016c 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:256: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001c521313 9. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104f2db2 10. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104fa886 11. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000104fa7a2 12. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104ef7ee 13. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104f79dc 14. __tsan_thread_start_func @ 0x0000000007b08428 15. ? @ 0x00007f268fd97ac3 16. ? @ 0x00007f268fe29850 2025.04.04 22:23:26.345102 [ 1949 ] {} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 10.00 million, current rows: 13.12 million: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b95ade 3. ./src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000183e140c 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x00000000183e0bec 5. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x00000000183a95c3 6. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x000000001c530712 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001c52016c 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:256: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001c521313 9. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104f2db2 10. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104fa886 11. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000104fa7a2 12. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104ef7ee 13. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104f79dc 14. __tsan_thread_start_func @ 0x0000000007b08428 15. ? @ 0x00007f268fd97ac3 16. ? @ 0x00007f268fe29850 2025.04.04 22:33:54.814342 [ 1954 ] {9c39a787-e0e1-46be-ad07-034be686c6c1} executeQuery: Code: 159. DB::Exception: Timeout exceeded: maximum: 1 ms. (TIMEOUT_EXCEEDED) (version 24.12.2.20230.altinityantalya (altinity build)) (from [::1]:41132) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT SearchPhrase AS k, count() AS c FROM remote('127.0.0.{1,2}', test.hits) GROUP BY k ORDER BY c DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b95ade 3. ./src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, double&&) @ 0x0000000019ac1546 4. ./build_docker/./src/Interpreters/ProcessList.cpp:512: DB::QueryStatus::throwProperExceptionIfNeeded(unsigned long const&, unsigned long const&) @ 0x0000000019abd01b 5. ./build_docker/./src/Interpreters/ProcessList.cpp:550: DB::QueryStatus::checkTimeLimit() @ 0x0000000019abd75a 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:200: DB::PipelineExecutor::finalizeExecution() @ 0x000000001c51f613 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001c51f238 8. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001c5352bb 9. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104ef7ee 10. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104f79dc 11. __tsan_thread_start_func @ 0x0000000007b08428 12. ? @ 0x00007f268fd97ac3 13. ? @ 0x00007f268fe29850 2025.04.04 22:33:54.853329 [ 1954 ] {} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: maximum: 1 ms. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b95ade 3. ./src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, double&&) @ 0x0000000019ac1546 4. ./build_docker/./src/Interpreters/ProcessList.cpp:512: DB::QueryStatus::throwProperExceptionIfNeeded(unsigned long const&, unsigned long const&) @ 0x0000000019abd01b 5. ./build_docker/./src/Interpreters/ProcessList.cpp:550: DB::QueryStatus::checkTimeLimit() @ 0x0000000019abd75a 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:200: DB::PipelineExecutor::finalizeExecution() @ 0x000000001c51f613 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001c51f238 8. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001c5352bb 9. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104ef7ee 10. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104f79dc 11. __tsan_thread_start_func @ 0x0000000007b08428 12. ? @ 0x00007f268fd97ac3 13. ? @ 0x00007f268fe29850 2025.04.04 22:33:54.944920 [ 1953 ] {7273999d-719a-40c3-b8fb-e92e18943cf1} TCPHandler: Can't send logs or exception to client. Close connection.: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:58218). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. ./src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000105c3eef 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000105c58eb 4. ./build_docker/./src/IO/WriteBufferFromPocoSocketChunked.cpp:116: DB::WriteBufferFromPocoSocketChunked::nextImpl() @ 0x000000001c28534e 5. DB::WriteBuffer::next() @ 0x0000000007ba6abc 6. ./build_docker/./src/Server/TCPHandler.cpp:2544: DB::TCPHandler::sendEndOfStream(DB::QueryState&) @ 0x000000001c4159a2 7. ./build_docker/./src/Server/TCPHandler.cpp:825: DB::TCPHandler::runImpl() @ 0x000000001c407a81 8. ./build_docker/./src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x000000001c425ea8 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000020c0da83 10. ./build_docker/./base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000020c0e2f2 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000020b870c3 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:45: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000020b85370 13. ./base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000020b8384a 14. __tsan_thread_start_func @ 0x0000000007b08428 15. ? @ 0x00007f268fd97ac3 16. ? @ 0x00007f268fe29850 (version 24.12.2.20230.altinityantalya (altinity build)) 2025.04.04 22:33:56.269949 [ 1835 ] {8e1b4982-ed8c-48a4-9b64-5390e099bf81} executeQuery: Code: 159. DB::Exception: Timeout exceeded: maximum: 1 ms. (TIMEOUT_EXCEEDED) (version 24.12.2.20230.altinityantalya (altinity build)) (from [::1]:41142) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT SearchPhrase AS k, count() AS c FROM remote('127.0.0.{1,2,3}', test.hits) GROUP BY k ORDER BY c DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b95ade 3. ./src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, double&&) @ 0x0000000019ac1546 4. ./build_docker/./src/Interpreters/ProcessList.cpp:512: DB::QueryStatus::throwProperExceptionIfNeeded(unsigned long const&, unsigned long const&) @ 0x0000000019abd01b 5. ./build_docker/./src/Interpreters/ProcessList.cpp:550: DB::QueryStatus::checkTimeLimit() @ 0x0000000019abd75a 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:200: DB::PipelineExecutor::finalizeExecution() @ 0x000000001c51f613 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001c51f238 8. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001c5352bb 9. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104ef7ee 10. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104f79dc 11. __tsan_thread_start_func @ 0x0000000007b08428 12. ? @ 0x00007f268fd97ac3 13. ? @ 0x00007f268fe29850 2025.04.04 22:33:56.296127 [ 1835 ] {} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: maximum: 1 ms. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b95ade 3. ./src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, double&&) @ 0x0000000019ac1546 4. ./build_docker/./src/Interpreters/ProcessList.cpp:512: DB::QueryStatus::throwProperExceptionIfNeeded(unsigned long const&, unsigned long const&) @ 0x0000000019abd01b 5. ./build_docker/./src/Interpreters/ProcessList.cpp:550: DB::QueryStatus::checkTimeLimit() @ 0x0000000019abd75a 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:200: DB::PipelineExecutor::finalizeExecution() @ 0x000000001c51f613 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001c51f238 8. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001c5352bb 9. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104ef7ee 10. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104f79dc 11. __tsan_thread_start_func @ 0x0000000007b08428 12. ? @ 0x00007f268fd97ac3 13. ? @ 0x00007f268fe29850 2025.04.04 22:33:57.730051 [ 1952 ] {2c67561a-02f9-47f0-8869-83c10af78ea0} executeQuery: Code: 159. DB::Exception: Timeout exceeded: maximum: 1 ms. (TIMEOUT_EXCEEDED) (version 24.12.2.20230.altinityantalya (altinity build)) (from [::1]:41158) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT SearchPhrase AS k, count() AS c FROM remote('127.0.0.{1,2,3,4}', test.hits) GROUP BY k ORDER BY c DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b95ade 3. ./src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, double&&) @ 0x0000000019ac1546 4. ./build_docker/./src/Interpreters/ProcessList.cpp:512: DB::QueryStatus::throwProperExceptionIfNeeded(unsigned long const&, unsigned long const&) @ 0x0000000019abd01b 5. ./build_docker/./src/Interpreters/ProcessList.cpp:550: DB::QueryStatus::checkTimeLimit() @ 0x0000000019abd75a 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:200: DB::PipelineExecutor::finalizeExecution() @ 0x000000001c51f613 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001c51f238 8. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001c5352bb 9. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104ef7ee 10. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104f79dc 11. __tsan_thread_start_func @ 0x0000000007b08428 12. ? @ 0x00007f268fd97ac3 13. ? @ 0x00007f268fe29850 2025.04.04 22:33:57.749033 [ 1952 ] {} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: maximum: 1 ms. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b95ade 3. ./src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, double&&) @ 0x0000000019ac1546 4. ./build_docker/./src/Interpreters/ProcessList.cpp:512: DB::QueryStatus::throwProperExceptionIfNeeded(unsigned long const&, unsigned long const&) @ 0x0000000019abd01b 5. ./build_docker/./src/Interpreters/ProcessList.cpp:550: DB::QueryStatus::checkTimeLimit() @ 0x0000000019abd75a 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:200: DB::PipelineExecutor::finalizeExecution() @ 0x000000001c51f613 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001c51f238 8. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001c5352bb 9. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104ef7ee 10. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104f79dc 11. __tsan_thread_start_func @ 0x0000000007b08428 12. ? @ 0x00007f268fd97ac3 13. ? @ 0x00007f268fe29850 2025.04.04 22:33:59.191499 [ 1608 ] {630230b2-b46d-416f-a760-f16eb6e46e3e} executeQuery: Code: 159. DB::Exception: Timeout exceeded: maximum: 1 ms. (TIMEOUT_EXCEEDED) (version 24.12.2.20230.altinityantalya (altinity build)) (from [::1]:41160) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT SearchPhrase AS k, count() AS c FROM remote('127.0.0.{1,2,3,4,5}', test.hits) GROUP BY k ORDER BY c DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b95ade 3. ./src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, double&&) @ 0x0000000019ac1546 4. ./build_docker/./src/Interpreters/ProcessList.cpp:512: DB::QueryStatus::throwProperExceptionIfNeeded(unsigned long const&, unsigned long const&) @ 0x0000000019abd01b 5. ./build_docker/./src/Interpreters/ProcessList.cpp:550: DB::QueryStatus::checkTimeLimit() @ 0x0000000019abd75a 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:200: DB::PipelineExecutor::finalizeExecution() @ 0x000000001c51f613 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001c51f238 8. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001c5352bb 9. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104ef7ee 10. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104f79dc 11. __tsan_thread_start_func @ 0x0000000007b08428 12. ? @ 0x00007f268fd97ac3 13. ? @ 0x00007f268fe29850 2025.04.04 22:33:59.213681 [ 1608 ] {} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: maximum: 1 ms. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b95ade 3. ./src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, double&&) @ 0x0000000019ac1546 4. ./build_docker/./src/Interpreters/ProcessList.cpp:512: DB::QueryStatus::throwProperExceptionIfNeeded(unsigned long const&, unsigned long const&) @ 0x0000000019abd01b 5. ./build_docker/./src/Interpreters/ProcessList.cpp:550: DB::QueryStatus::checkTimeLimit() @ 0x0000000019abd75a 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:200: DB::PipelineExecutor::finalizeExecution() @ 0x000000001c51f613 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001c51f238 8. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001c5352bb 9. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104ef7ee 10. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104f79dc 11. __tsan_thread_start_func @ 0x0000000007b08428 12. ? @ 0x00007f268fd97ac3 13. ? @ 0x00007f268fe29850 2025.04.04 22:34:00.625685 [ 1961 ] {7ca94776-c4d7-4f6f-896a-011cbf613f36} executeQuery: Code: 159. DB::Exception: Timeout exceeded: maximum: 1 ms. (TIMEOUT_EXCEEDED) (version 24.12.2.20230.altinityantalya (altinity build)) (from [::1]:41164) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT SearchPhrase AS k, count() AS c FROM remote('127.0.0.{1,2,3,4,5,6}', test.hits) GROUP BY k ORDER BY c DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b95ade 3. ./src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, double&&) @ 0x0000000019ac1546 4. ./build_docker/./src/Interpreters/ProcessList.cpp:512: DB::QueryStatus::throwProperExceptionIfNeeded(unsigned long const&, unsigned long const&) @ 0x0000000019abd01b 5. ./build_docker/./src/Interpreters/ProcessList.cpp:550: DB::QueryStatus::checkTimeLimit() @ 0x0000000019abd75a 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:200: DB::PipelineExecutor::finalizeExecution() @ 0x000000001c51f613 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001c51f238 8. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001c5352bb 9. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104ef7ee 10. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104f79dc 11. __tsan_thread_start_func @ 0x0000000007b08428 12. ? @ 0x00007f268fd97ac3 13. ? @ 0x00007f268fe29850 2025.04.04 22:34:00.654427 [ 1961 ] {} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: maximum: 1 ms. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b95ade 3. ./src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, double&&) @ 0x0000000019ac1546 4. ./build_docker/./src/Interpreters/ProcessList.cpp:512: DB::QueryStatus::throwProperExceptionIfNeeded(unsigned long const&, unsigned long const&) @ 0x0000000019abd01b 5. ./build_docker/./src/Interpreters/ProcessList.cpp:550: DB::QueryStatus::checkTimeLimit() @ 0x0000000019abd75a 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:200: DB::PipelineExecutor::finalizeExecution() @ 0x000000001c51f613 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001c51f238 8. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001c5352bb 9. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104ef7ee 10. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104f79dc 11. __tsan_thread_start_func @ 0x0000000007b08428 12. ? @ 0x00007f268fd97ac3 13. ? @ 0x00007f268fe29850 2025.04.04 22:34:02.061357 [ 1953 ] {2fe580fa-f0db-4a0d-bd39-8d2c023c053a} executeQuery: Code: 159. DB::Exception: Timeout exceeded: maximum: 1 ms. (TIMEOUT_EXCEEDED) (version 24.12.2.20230.altinityantalya (altinity build)) (from [::1]:43260) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT SearchPhrase AS k, count() AS c FROM remote('127.0.0.{1,2,3,4,5,6,7}', test.hits) GROUP BY k ORDER BY c DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b95ade 3. ./src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, double&&) @ 0x0000000019ac1546 4. ./build_docker/./src/Interpreters/ProcessList.cpp:512: DB::QueryStatus::throwProperExceptionIfNeeded(unsigned long const&, unsigned long const&) @ 0x0000000019abd01b 5. ./build_docker/./src/Interpreters/ProcessList.cpp:550: DB::QueryStatus::checkTimeLimit() @ 0x0000000019abd75a 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:200: DB::PipelineExecutor::finalizeExecution() @ 0x000000001c51f613 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001c51f238 8. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001c5352bb 9. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104ef7ee 10. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104f79dc 11. __tsan_thread_start_func @ 0x0000000007b08428 12. ? @ 0x00007f268fd97ac3 13. ? @ 0x00007f268fe29850 2025.04.04 22:34:02.101217 [ 1953 ] {} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: maximum: 1 ms. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b95ade 3. ./src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, double&&) @ 0x0000000019ac1546 4. ./build_docker/./src/Interpreters/ProcessList.cpp:512: DB::QueryStatus::throwProperExceptionIfNeeded(unsigned long const&, unsigned long const&) @ 0x0000000019abd01b 5. ./build_docker/./src/Interpreters/ProcessList.cpp:550: DB::QueryStatus::checkTimeLimit() @ 0x0000000019abd75a 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:200: DB::PipelineExecutor::finalizeExecution() @ 0x000000001c51f613 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001c51f238 8. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001c5352bb 9. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104ef7ee 10. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104f79dc 11. __tsan_thread_start_func @ 0x0000000007b08428 12. ? @ 0x00007f268fd97ac3 13. ? @ 0x00007f268fe29850 2025.04.04 22:34:02.145860 [ 1952 ] {} TCPHandler: TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket (peer: [::ffff:127.0.0.1]:40968, local: [::ffff:127.0.0.3]:9000). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. ./src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000105c3eef 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:83: DB::ReadBufferFromPocoSocketBase::socketReceiveBytesImpl(char*, unsigned long) @ 0x00000000105c2fff 4. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:107: DB::ReadBufferFromPocoSocketBase::nextImpl() @ 0x00000000105c3674 5. ./build_docker/./src/IO/ReadBufferFromPocoSocketChunked.cpp:103: DB::ReadBufferFromPocoSocketChunked::nextImpl() @ 0x000000001c28182f 6. DB::ReadBuffer::next() @ 0x0000000007ce3a5b 7. ./src/IO/ReadBuffer.h:103: DB::TCPHandler::runImpl() @ 0x000000001c406a16 8. ./build_docker/./src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x000000001c425ea8 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000020c0da83 10. ./build_docker/./base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000020c0e2f2 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000020b870c3 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:45: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000020b85370 13. ./base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000020b8384a 14. __tsan_thread_start_func @ 0x0000000007b08428 15. ? @ 0x00007f268fd97ac3 16. ? @ 0x00007f268fe29850 (version 24.12.2.20230.altinityantalya (altinity build)) 2025.04.04 22:34:02.145933 [ 1608 ] {} TCPHandler: TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket (peer: [::ffff:127.0.0.1]:45086, local: [::ffff:127.0.0.2]:9000). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. ./src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000105c3eef 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:83: DB::ReadBufferFromPocoSocketBase::socketReceiveBytesImpl(char*, unsigned long) @ 0x00000000105c2fff 4. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:107: DB::ReadBufferFromPocoSocketBase::nextImpl() @ 0x00000000105c3674 5. ./build_docker/./src/IO/ReadBufferFromPocoSocketChunked.cpp:103: DB::ReadBufferFromPocoSocketChunked::nextImpl() @ 0x000000001c28182f 6. DB::ReadBuffer::next() @ 0x0000000007ce3a5b 7. ./src/IO/ReadBuffer.h:103: DB::TCPHandler::runImpl() @ 0x000000001c406a16 8. ./build_docker/./src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x000000001c425ea8 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000020c0da83 10. ./build_docker/./base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000020c0e2f2 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000020b870c3 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:45: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000020b85370 13. ./base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000020b8384a 14. __tsan_thread_start_func @ 0x0000000007b08428 15. ? @ 0x00007f268fd97ac3 16. ? @ 0x00007f268fe29850 (version 24.12.2.20230.altinityantalya (altinity build)) 2025.04.04 22:34:02.146228 [ 1952 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket (peer: [::ffff:127.0.0.1]:40968, local: [::ffff:127.0.0.3]:9000). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. ./src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000105c3eef 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:83: DB::ReadBufferFromPocoSocketBase::socketReceiveBytesImpl(char*, unsigned long) @ 0x00000000105c2fff 4. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:107: DB::ReadBufferFromPocoSocketBase::nextImpl() @ 0x00000000105c3674 5. ./build_docker/./src/IO/ReadBufferFromPocoSocketChunked.cpp:103: DB::ReadBufferFromPocoSocketChunked::nextImpl() @ 0x000000001c28182f 6. DB::ReadBuffer::next() @ 0x0000000007ce3a5b 7. ./src/IO/ReadBuffer.h:103: DB::TCPHandler::runImpl() @ 0x000000001c406a16 8. ./build_docker/./src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x000000001c425ea8 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000020c0da83 10. ./build_docker/./base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000020c0e2f2 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000020b870c3 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:45: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000020b85370 13. ./base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000020b8384a 14. __tsan_thread_start_func @ 0x0000000007b08428 15. ? @ 0x00007f268fd97ac3 16. ? @ 0x00007f268fe29850 (version 24.12.2.20230.altinityantalya (altinity build)) 2025.04.04 22:34:02.146510 [ 1608 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket (peer: [::ffff:127.0.0.1]:45086, local: [::ffff:127.0.0.2]:9000). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. ./src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000105c3eef 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:83: DB::ReadBufferFromPocoSocketBase::socketReceiveBytesImpl(char*, unsigned long) @ 0x00000000105c2fff 4. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:107: DB::ReadBufferFromPocoSocketBase::nextImpl() @ 0x00000000105c3674 5. ./build_docker/./src/IO/ReadBufferFromPocoSocketChunked.cpp:103: DB::ReadBufferFromPocoSocketChunked::nextImpl() @ 0x000000001c28182f 6. DB::ReadBuffer::next() @ 0x0000000007ce3a5b 7. ./src/IO/ReadBuffer.h:103: DB::TCPHandler::runImpl() @ 0x000000001c406a16 8. ./build_docker/./src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x000000001c425ea8 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000020c0da83 10. ./build_docker/./base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000020c0e2f2 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000020b870c3 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:45: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000020b85370 13. ./base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000020b8384a 14. __tsan_thread_start_func @ 0x0000000007b08428 15. ? @ 0x00007f268fd97ac3 16. ? @ 0x00007f268fe29850 (version 24.12.2.20230.altinityantalya (altinity build)) 2025.04.04 22:34:03.535400 [ 1627 ] {693e3e20-94e2-4a6c-b32d-17ff502c5179} executeQuery: Code: 159. DB::Exception: Timeout exceeded: maximum: 1 ms. (TIMEOUT_EXCEEDED) (version 24.12.2.20230.altinityantalya (altinity build)) (from [::1]:43264) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT SearchPhrase AS k, count() AS c FROM remote('127.0.0.{1,2,3,4,5,6,7,8}', test.hits) GROUP BY k ORDER BY c DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b95ade 3. ./src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, double&&) @ 0x0000000019ac1546 4. ./build_docker/./src/Interpreters/ProcessList.cpp:512: DB::QueryStatus::throwProperExceptionIfNeeded(unsigned long const&, unsigned long const&) @ 0x0000000019abd01b 5. ./build_docker/./src/Interpreters/ProcessList.cpp:550: DB::QueryStatus::checkTimeLimit() @ 0x0000000019abd75a 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:200: DB::PipelineExecutor::finalizeExecution() @ 0x000000001c51f613 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001c51f238 8. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001c5352bb 9. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104ef7ee 10. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104f79dc 11. __tsan_thread_start_func @ 0x0000000007b08428 12. ? @ 0x00007f268fd97ac3 13. ? @ 0x00007f268fe29850 2025.04.04 22:34:03.558580 [ 1953 ] {} TCPHandler: TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket (peer: [::ffff:127.0.0.1]:43244, local: [::ffff:127.0.0.4]:9000). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. ./src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000105c3eef 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:83: DB::ReadBufferFromPocoSocketBase::socketReceiveBytesImpl(char*, unsigned long) @ 0x00000000105c2fff 4. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:107: DB::ReadBufferFromPocoSocketBase::nextImpl() @ 0x00000000105c3674 5. ./build_docker/./src/IO/ReadBufferFromPocoSocketChunked.cpp:103: DB::ReadBufferFromPocoSocketChunked::nextImpl() @ 0x000000001c28182f 6. DB::ReadBuffer::next() @ 0x0000000007ce3a5b 7. ./src/IO/ReadBuffer.h:103: DB::TCPHandler::runImpl() @ 0x000000001c406a16 8. ./build_docker/./src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x000000001c425ea8 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000020c0da83 10. ./build_docker/./base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000020c0e2f2 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000020b870c3 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:45: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000020b85370 13. ./base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000020b8384a 14. __tsan_thread_start_func @ 0x0000000007b08428 15. ? @ 0x00007f268fd97ac3 16. ? @ 0x00007f268fe29850 (version 24.12.2.20230.altinityantalya (altinity build)) 2025.04.04 22:34:03.558911 [ 1953 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket (peer: [::ffff:127.0.0.1]:43244, local: [::ffff:127.0.0.4]:9000). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. ./src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000105c3eef 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:83: DB::ReadBufferFromPocoSocketBase::socketReceiveBytesImpl(char*, unsigned long) @ 0x00000000105c2fff 4. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:107: DB::ReadBufferFromPocoSocketBase::nextImpl() @ 0x00000000105c3674 5. ./build_docker/./src/IO/ReadBufferFromPocoSocketChunked.cpp:103: DB::ReadBufferFromPocoSocketChunked::nextImpl() @ 0x000000001c28182f 6. DB::ReadBuffer::next() @ 0x0000000007ce3a5b 7. ./src/IO/ReadBuffer.h:103: DB::TCPHandler::runImpl() @ 0x000000001c406a16 8. ./build_docker/./src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x000000001c425ea8 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000020c0da83 10. ./build_docker/./base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000020c0e2f2 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000020b870c3 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:45: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000020b85370 13. ./base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000020b8384a 14. __tsan_thread_start_func @ 0x0000000007b08428 15. ? @ 0x00007f268fd97ac3 16. ? @ 0x00007f268fe29850 (version 24.12.2.20230.altinityantalya (altinity build)) 2025.04.04 22:34:03.565638 [ 1835 ] {} TCPHandler: TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket (peer: [::ffff:127.0.0.1]:45096, local: [::ffff:127.0.0.2]:9000). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. ./src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000105c3eef 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:83: DB::ReadBufferFromPocoSocketBase::socketReceiveBytesImpl(char*, unsigned long) @ 0x00000000105c2fff 4. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:107: DB::ReadBufferFromPocoSocketBase::nextImpl() @ 0x00000000105c3674 5. ./build_docker/./src/IO/ReadBufferFromPocoSocketChunked.cpp:103: DB::ReadBufferFromPocoSocketChunked::nextImpl() @ 0x000000001c28182f 6. DB::ReadBuffer::next() @ 0x0000000007ce3a5b 7. ./src/IO/ReadBuffer.h:103: DB::TCPHandler::runImpl() @ 0x000000001c406a16 8. ./build_docker/./src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x000000001c425ea8 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000020c0da83 10. ./build_docker/./base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000020c0e2f2 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000020b870c3 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:45: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000020b85370 13. ./base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000020b8384a 14. __tsan_thread_start_func @ 0x0000000007b08428 15. ? @ 0x00007f268fd97ac3 16. ? @ 0x00007f268fe29850 (version 24.12.2.20230.altinityantalya (altinity build)) 2025.04.04 22:34:03.566078 [ 1835 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket (peer: [::ffff:127.0.0.1]:45096, local: [::ffff:127.0.0.2]:9000). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. ./src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000105c3eef 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:83: DB::ReadBufferFromPocoSocketBase::socketReceiveBytesImpl(char*, unsigned long) @ 0x00000000105c2fff 4. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:107: DB::ReadBufferFromPocoSocketBase::nextImpl() @ 0x00000000105c3674 5. ./build_docker/./src/IO/ReadBufferFromPocoSocketChunked.cpp:103: DB::ReadBufferFromPocoSocketChunked::nextImpl() @ 0x000000001c28182f 6. DB::ReadBuffer::next() @ 0x0000000007ce3a5b 7. ./src/IO/ReadBuffer.h:103: DB::TCPHandler::runImpl() @ 0x000000001c406a16 8. ./build_docker/./src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x000000001c425ea8 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000020c0da83 10. ./build_docker/./base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000020c0e2f2 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000020b870c3 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:45: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000020b85370 13. ./base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000020b8384a 14. __tsan_thread_start_func @ 0x0000000007b08428 15. ? @ 0x00007f268fd97ac3 16. ? @ 0x00007f268fe29850 (version 24.12.2.20230.altinityantalya (altinity build)) 2025.04.04 22:34:03.593441 [ 1627 ] {} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: maximum: 1 ms. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b95ade 3. ./src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, double&&) @ 0x0000000019ac1546 4. ./build_docker/./src/Interpreters/ProcessList.cpp:512: DB::QueryStatus::throwProperExceptionIfNeeded(unsigned long const&, unsigned long const&) @ 0x0000000019abd01b 5. ./build_docker/./src/Interpreters/ProcessList.cpp:550: DB::QueryStatus::checkTimeLimit() @ 0x0000000019abd75a 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:200: DB::PipelineExecutor::finalizeExecution() @ 0x000000001c51f613 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001c51f238 8. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001c5352bb 9. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104ef7ee 10. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104f79dc 11. __tsan_thread_start_func @ 0x0000000007b08428 12. ? @ 0x00007f268fd97ac3 13. ? @ 0x00007f268fe29850 2025.04.04 22:34:03.625306 [ 1626 ] {e1883050-47ec-41da-9945-ba1c9f84f471} TCPHandler: Can't send logs or exception to client. Close connection.: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:40974). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. ./src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000105c3eef 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000105c58eb 4. ./build_docker/./src/IO/WriteBufferFromPocoSocketChunked.cpp:116: DB::WriteBufferFromPocoSocketChunked::nextImpl() @ 0x000000001c28534e 5. DB::WriteBuffer::next() @ 0x0000000007ba6abc 6. ./build_docker/./src/Server/TCPHandler.cpp:2544: DB::TCPHandler::sendEndOfStream(DB::QueryState&) @ 0x000000001c4159a2 7. ./build_docker/./src/Server/TCPHandler.cpp:825: DB::TCPHandler::runImpl() @ 0x000000001c407a81 8. ./build_docker/./src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x000000001c425ea8 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000020c0da83 10. ./build_docker/./base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000020c0e2f2 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000020b870c3 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:45: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000020b85370 13. ./base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000020b8384a 14. __tsan_thread_start_func @ 0x0000000007b08428 15. ? @ 0x00007f268fd97ac3 16. ? @ 0x00007f268fe29850 (version 24.12.2.20230.altinityantalya (altinity build)) 2025.04.04 22:34:05.000113 [ 1950 ] {23576ecc-a300-4bf3-b644-2e710ef6b653} executeQuery: Code: 159. DB::Exception: Timeout exceeded: maximum: 1 ms. (TIMEOUT_EXCEEDED) (version 24.12.2.20230.altinityantalya (altinity build)) (from [::1]:43270) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT SearchPhrase AS k, count() AS c FROM remote('127.0.0.{1,2,3,4,5,6,7,8,9}', test.hits) GROUP BY k ORDER BY c DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b95ade 3. ./src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, double&&) @ 0x0000000019ac1546 4. ./build_docker/./src/Interpreters/ProcessList.cpp:512: DB::QueryStatus::throwProperExceptionIfNeeded(unsigned long const&, unsigned long const&) @ 0x0000000019abd01b 5. ./build_docker/./src/Interpreters/ProcessList.cpp:550: DB::QueryStatus::checkTimeLimit() @ 0x0000000019abd75a 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:200: DB::PipelineExecutor::finalizeExecution() @ 0x000000001c51f613 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001c51f238 8. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001c5352bb 9. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104ef7ee 10. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104f79dc 11. __tsan_thread_start_func @ 0x0000000007b08428 12. ? @ 0x00007f268fd97ac3 13. ? @ 0x00007f268fe29850 2025.04.04 22:34:05.034223 [ 364 ] {} TCPHandler: TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket (peer: [::ffff:127.0.0.1]:45106, local: [::ffff:127.0.0.2]:9000). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. ./src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000105c3eef 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:83: DB::ReadBufferFromPocoSocketBase::socketReceiveBytesImpl(char*, unsigned long) @ 0x00000000105c2fff 4. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:107: DB::ReadBufferFromPocoSocketBase::nextImpl() @ 0x00000000105c3674 5. ./build_docker/./src/IO/ReadBufferFromPocoSocketChunked.cpp:103: DB::ReadBufferFromPocoSocketChunked::nextImpl() @ 0x000000001c28182f 6. DB::ReadBuffer::next() @ 0x0000000007ce3a5b 7. ./src/IO/ReadBuffer.h:103: DB::TCPHandler::runImpl() @ 0x000000001c406a16 8. ./build_docker/./src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x000000001c425ea8 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000020c0da83 10. ./build_docker/./base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000020c0e2f2 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000020b870c3 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:45: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000020b85370 13. ./base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000020b8384a 14. __tsan_thread_start_func @ 0x0000000007b08428 15. ? @ 0x00007f268fd97ac3 16. ? @ 0x00007f268fe29850 (version 24.12.2.20230.altinityantalya (altinity build)) 2025.04.04 22:34:05.034485 [ 364 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket (peer: [::ffff:127.0.0.1]:45106, local: [::ffff:127.0.0.2]:9000). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. ./src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000105c3eef 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:83: DB::ReadBufferFromPocoSocketBase::socketReceiveBytesImpl(char*, unsigned long) @ 0x00000000105c2fff 4. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:107: DB::ReadBufferFromPocoSocketBase::nextImpl() @ 0x00000000105c3674 5. ./build_docker/./src/IO/ReadBufferFromPocoSocketChunked.cpp:103: DB::ReadBufferFromPocoSocketChunked::nextImpl() @ 0x000000001c28182f 6. DB::ReadBuffer::next() @ 0x0000000007ce3a5b 7. ./src/IO/ReadBuffer.h:103: DB::TCPHandler::runImpl() @ 0x000000001c406a16 8. ./build_docker/./src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x000000001c425ea8 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000020c0da83 10. ./build_docker/./base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000020c0e2f2 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000020b870c3 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:45: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000020b85370 13. ./base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000020b8384a 14. __tsan_thread_start_func @ 0x0000000007b08428 15. ? @ 0x00007f268fd97ac3 16. ? @ 0x00007f268fe29850 (version 24.12.2.20230.altinityantalya (altinity build)) 2025.04.04 22:34:05.046719 [ 1950 ] {} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: maximum: 1 ms. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b95ade 3. ./src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, double&&) @ 0x0000000019ac1546 4. ./build_docker/./src/Interpreters/ProcessList.cpp:512: DB::QueryStatus::throwProperExceptionIfNeeded(unsigned long const&, unsigned long const&) @ 0x0000000019abd01b 5. ./build_docker/./src/Interpreters/ProcessList.cpp:550: DB::QueryStatus::checkTimeLimit() @ 0x0000000019abd75a 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:200: DB::PipelineExecutor::finalizeExecution() @ 0x000000001c51f613 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001c51f238 8. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001c5352bb 9. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104ef7ee 10. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104f79dc 11. __tsan_thread_start_func @ 0x0000000007b08428 12. ? @ 0x00007f268fd97ac3 13. ? @ 0x00007f268fe29850 2025.04.04 22:34:06.469239 [ 1952 ] {09ec352f-c332-47be-92eb-081c3279a6c4} executeQuery: Code: 159. DB::Exception: Timeout exceeded: maximum: 1 ms. (TIMEOUT_EXCEEDED) (version 24.12.2.20230.altinityantalya (altinity build)) (from [::1]:43274) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT SearchPhrase AS k, count() AS c FROM remote('127.0.0.{1,2,3,4,5,6,7,8,9,10}', test.hits) GROUP BY k ORDER BY c DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b95ade 3. ./src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, double&&) @ 0x0000000019ac1546 4. ./build_docker/./src/Interpreters/ProcessList.cpp:512: DB::QueryStatus::throwProperExceptionIfNeeded(unsigned long const&, unsigned long const&) @ 0x0000000019abd01b 5. ./build_docker/./src/Interpreters/ProcessList.cpp:550: DB::QueryStatus::checkTimeLimit() @ 0x0000000019abd75a 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:200: DB::PipelineExecutor::finalizeExecution() @ 0x000000001c51f613 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001c51f238 8. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001c5352bb 9. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104ef7ee 10. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104f79dc 11. __tsan_thread_start_func @ 0x0000000007b08428 12. ? @ 0x00007f268fd97ac3 13. ? @ 0x00007f268fe29850 2025.04.04 22:34:06.490274 [ 1628 ] {} TCPHandler: TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket (peer: [::ffff:127.0.0.1]:40128, local: [::ffff:127.0.0.5]:9000). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. ./src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000105c3eef 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:83: DB::ReadBufferFromPocoSocketBase::socketReceiveBytesImpl(char*, unsigned long) @ 0x00000000105c2fff 4. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:107: DB::ReadBufferFromPocoSocketBase::nextImpl() @ 0x00000000105c3674 5. ./build_docker/./src/IO/ReadBufferFromPocoSocketChunked.cpp:103: DB::ReadBufferFromPocoSocketChunked::nextImpl() @ 0x000000001c28182f 6. DB::ReadBuffer::next() @ 0x0000000007ce3a5b 7. ./src/IO/ReadBuffer.h:103: DB::TCPHandler::runImpl() @ 0x000000001c406a16 8. ./build_docker/./src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x000000001c425ea8 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000020c0da83 10. ./build_docker/./base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000020c0e2f2 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000020b870c3 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:45: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000020b85370 13. ./base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000020b8384a 14. __tsan_thread_start_func @ 0x0000000007b08428 15. ? @ 0x00007f268fd97ac3 16. ? @ 0x00007f268fe29850 (version 24.12.2.20230.altinityantalya (altinity build)) 2025.04.04 22:34:06.490785 [ 1628 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket (peer: [::ffff:127.0.0.1]:40128, local: [::ffff:127.0.0.5]:9000). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. ./src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000105c3eef 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:83: DB::ReadBufferFromPocoSocketBase::socketReceiveBytesImpl(char*, unsigned long) @ 0x00000000105c2fff 4. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:107: DB::ReadBufferFromPocoSocketBase::nextImpl() @ 0x00000000105c3674 5. ./build_docker/./src/IO/ReadBufferFromPocoSocketChunked.cpp:103: DB::ReadBufferFromPocoSocketChunked::nextImpl() @ 0x000000001c28182f 6. DB::ReadBuffer::next() @ 0x0000000007ce3a5b 7. ./src/IO/ReadBuffer.h:103: DB::TCPHandler::runImpl() @ 0x000000001c406a16 8. ./build_docker/./src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x000000001c425ea8 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000020c0da83 10. ./build_docker/./base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000020c0e2f2 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000020b870c3 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:45: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000020b85370 13. ./base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000020b8384a 14. __tsan_thread_start_func @ 0x0000000007b08428 15. ? @ 0x00007f268fd97ac3 16. ? @ 0x00007f268fe29850 (version 24.12.2.20230.altinityantalya (altinity build)) 2025.04.04 22:34:06.494125 [ 364 ] {} TCPHandler: TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket (peer: [::ffff:127.0.0.1]:43270, local: [::ffff:127.0.0.4]:9000). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. ./src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000105c3eef 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:83: DB::ReadBufferFromPocoSocketBase::socketReceiveBytesImpl(char*, unsigned long) @ 0x00000000105c2fff 4. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:107: DB::ReadBufferFromPocoSocketBase::nextImpl() @ 0x00000000105c3674 5. ./build_docker/./src/IO/ReadBufferFromPocoSocketChunked.cpp:103: DB::ReadBufferFromPocoSocketChunked::nextImpl() @ 0x000000001c28182f 6. DB::ReadBuffer::next() @ 0x0000000007ce3a5b 7. ./src/IO/ReadBuffer.h:103: DB::TCPHandler::runImpl() @ 0x000000001c406a16 8. ./build_docker/./src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x000000001c425ea8 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000020c0da83 10. ./build_docker/./base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000020c0e2f2 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000020b870c3 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:45: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000020b85370 13. ./base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000020b8384a 14. __tsan_thread_start_func @ 0x0000000007b08428 15. ? @ 0x00007f268fd97ac3 16. ? @ 0x00007f268fe29850 (version 24.12.2.20230.altinityantalya (altinity build)) 2025.04.04 22:34:06.494428 [ 364 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket (peer: [::ffff:127.0.0.1]:43270, local: [::ffff:127.0.0.4]:9000). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. ./src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000105c3eef 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:83: DB::ReadBufferFromPocoSocketBase::socketReceiveBytesImpl(char*, unsigned long) @ 0x00000000105c2fff 4. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:107: DB::ReadBufferFromPocoSocketBase::nextImpl() @ 0x00000000105c3674 5. ./build_docker/./src/IO/ReadBufferFromPocoSocketChunked.cpp:103: DB::ReadBufferFromPocoSocketChunked::nextImpl() @ 0x000000001c28182f 6. DB::ReadBuffer::next() @ 0x0000000007ce3a5b 7. ./src/IO/ReadBuffer.h:103: DB::TCPHandler::runImpl() @ 0x000000001c406a16 8. ./build_docker/./src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x000000001c425ea8 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000020c0da83 10. ./build_docker/./base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000020c0e2f2 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000020b870c3 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:45: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000020b85370 13. ./base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000020b8384a 14. __tsan_thread_start_func @ 0x0000000007b08428 15. ? @ 0x00007f268fd97ac3 16. ? @ 0x00007f268fe29850 (version 24.12.2.20230.altinityantalya (altinity build)) 2025.04.04 22:34:06.500721 [ 1955 ] {} TCPHandler: TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket (peer: [::ffff:127.0.0.1]:40990, local: [::ffff:127.0.0.3]:9000). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. ./src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000105c3eef 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:83: DB::ReadBufferFromPocoSocketBase::socketReceiveBytesImpl(char*, unsigned long) @ 0x00000000105c2fff 4. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:107: DB::ReadBufferFromPocoSocketBase::nextImpl() @ 0x00000000105c3674 5. ./build_docker/./src/IO/ReadBufferFromPocoSocketChunked.cpp:103: DB::ReadBufferFromPocoSocketChunked::nextImpl() @ 0x000000001c28182f 6. DB::ReadBuffer::next() @ 0x0000000007ce3a5b 7. ./src/IO/ReadBuffer.h:103: DB::TCPHandler::runImpl() @ 0x000000001c406a16 8. ./build_docker/./src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x000000001c425ea8 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000020c0da83 10. ./build_docker/./base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000020c0e2f2 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000020b870c3 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:45: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000020b85370 13. ./base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000020b8384a 14. __tsan_thread_start_func @ 0x0000000007b08428 15. ? @ 0x00007f268fd97ac3 16. ? @ 0x00007f268fe29850 (version 24.12.2.20230.altinityantalya (altinity build)) 2025.04.04 22:34:06.501013 [ 1955 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket (peer: [::ffff:127.0.0.1]:40990, local: [::ffff:127.0.0.3]:9000). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. ./src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000105c3eef 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:83: DB::ReadBufferFromPocoSocketBase::socketReceiveBytesImpl(char*, unsigned long) @ 0x00000000105c2fff 4. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:107: DB::ReadBufferFromPocoSocketBase::nextImpl() @ 0x00000000105c3674 5. ./build_docker/./src/IO/ReadBufferFromPocoSocketChunked.cpp:103: DB::ReadBufferFromPocoSocketChunked::nextImpl() @ 0x000000001c28182f 6. DB::ReadBuffer::next() @ 0x0000000007ce3a5b 7. ./src/IO/ReadBuffer.h:103: DB::TCPHandler::runImpl() @ 0x000000001c406a16 8. ./build_docker/./src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x000000001c425ea8 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000020c0da83 10. ./build_docker/./base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000020c0e2f2 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000020b870c3 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:45: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000020b85370 13. ./base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000020b8384a 14. __tsan_thread_start_func @ 0x0000000007b08428 15. ? @ 0x00007f268fd97ac3 16. ? @ 0x00007f268fe29850 (version 24.12.2.20230.altinityantalya (altinity build)) 2025.04.04 22:34:06.504801 [ 1961 ] {} TCPHandler: TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket (peer: [::ffff:127.0.0.1]:45116, local: [::ffff:127.0.0.2]:9000). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. ./src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000105c3eef 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:83: DB::ReadBufferFromPocoSocketBase::socketReceiveBytesImpl(char*, unsigned long) @ 0x00000000105c2fff 4. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:107: DB::ReadBufferFromPocoSocketBase::nextImpl() @ 0x00000000105c3674 5. ./build_docker/./src/IO/ReadBufferFromPocoSocketChunked.cpp:103: DB::ReadBufferFromPocoSocketChunked::nextImpl() @ 0x000000001c28182f 6. DB::ReadBuffer::next() @ 0x0000000007ce3a5b 7. ./src/IO/ReadBuffer.h:103: DB::TCPHandler::runImpl() @ 0x000000001c406a16 8. ./build_docker/./src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x000000001c425ea8 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000020c0da83 10. ./build_docker/./base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000020c0e2f2 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000020b870c3 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:45: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000020b85370 13. ./base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000020b8384a 14. __tsan_thread_start_func @ 0x0000000007b08428 15. ? @ 0x00007f268fd97ac3 16. ? @ 0x00007f268fe29850 (version 24.12.2.20230.altinityantalya (altinity build)) 2025.04.04 22:34:06.505048 [ 1961 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket (peer: [::ffff:127.0.0.1]:45116, local: [::ffff:127.0.0.2]:9000). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. ./src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000105c3eef 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:83: DB::ReadBufferFromPocoSocketBase::socketReceiveBytesImpl(char*, unsigned long) @ 0x00000000105c2fff 4. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:107: DB::ReadBufferFromPocoSocketBase::nextImpl() @ 0x00000000105c3674 5. ./build_docker/./src/IO/ReadBufferFromPocoSocketChunked.cpp:103: DB::ReadBufferFromPocoSocketChunked::nextImpl() @ 0x000000001c28182f 6. DB::ReadBuffer::next() @ 0x0000000007ce3a5b 7. ./src/IO/ReadBuffer.h:103: DB::TCPHandler::runImpl() @ 0x000000001c406a16 8. ./build_docker/./src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x000000001c425ea8 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000020c0da83 10. ./build_docker/./base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000020c0e2f2 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000020b870c3 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:45: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000020b85370 13. ./base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000020b8384a 14. __tsan_thread_start_func @ 0x0000000007b08428 15. ? @ 0x00007f268fd97ac3 16. ? @ 0x00007f268fe29850 (version 24.12.2.20230.altinityantalya (altinity build)) 2025.04.04 22:34:06.517174 [ 1952 ] {} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: maximum: 1 ms. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000020b00ec3 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103dda74 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007b95ade 3. ./src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, double&&) @ 0x0000000019ac1546 4. ./build_docker/./src/Interpreters/ProcessList.cpp:512: DB::QueryStatus::throwProperExceptionIfNeeded(unsigned long const&, unsigned long const&) @ 0x0000000019abd01b 5. ./build_docker/./src/Interpreters/ProcessList.cpp:550: DB::QueryStatus::checkTimeLimit() @ 0x0000000019abd75a 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:200: DB::PipelineExecutor::finalizeExecution() @ 0x000000001c51f613 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001c51f238 8. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001c5352bb 9. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000104ef7ee 10. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x00000000104f79dc 11. __tsan_thread_start_func @ 0x0000000007b08428 12. ? @ 0x00007f268fd97ac3 13. ? @ 0x00007f268fe29850 2025.04.04 22:40:59.010439 [ 353 ] {} Application: Closed all listening sockets. Waiting for 4 outstanding connections. 2025.04.04 22:41:07.738226 [ 964 ] {} RaftInstance: failed to accept a rpc connection due to error 125, Operation canceled