2025.04.03 15:40:59.504049 [ 350 ] {} Context: Server was built in debug mode. It will work slowly. 2025.04.03 15:40:59.799516 [ 350 ] {} KeeperLogStore: No logs exists in /var/lib/clickhouse/coordination/logs. It's Ok if it's the first run of clickhouse-keeper. 2025.04.03 15:40:59.799809 [ 350 ] {} KeeperLogStore: Removing all changelogs 2025.04.03 15:40:59.800041 [ 350 ] {} KeeperServer: Got 1000000000000000 value for setting 'reserved_log_items' which is bigger than int32_t max value, lowering value to 2147483647. 2025.04.03 15:40:59.802211 [ 350 ] {} RaftInstance: invalid election timeout lower bound detected, adjusted to 0 2025.04.03 15:40:59.802218 [ 350 ] {} RaftInstance: invalid election timeout upper bound detected, adjusted to 0 2025.04.03 15:40:59.852611 [ 938 ] {} RaftInstance: Election timeout, initiate leader election 2025.04.03 15:40:59.862047 [ 350 ] {} Access(local_directory): File /var/lib/clickhouse/access/users.list doesn't exist 2025.04.03 15:40:59.862062 [ 350 ] {} Access(local_directory): Recovering lists in directory /var/lib/clickhouse/access/ 2025.04.03 15:40:59.870437 [ 350 ] {} 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.03 15:40:59.870710 [ 350 ] {} 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.03 15:41:00.607033 [ 357 ] {c3552c49-f314-44b8-84f5-eb47e230bc23} 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.03 15:41:10.876754 [ 357 ] {fc283476-83ae-473c-9292-31c9f3028c83} 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.03 15:42:11.019651 [ 975 ] {6d73a4f1-eaef-429d-9bac-b1a9e521f0ca::all_1_6_1} virtual bool DB::MergePlainMergeTreeTask::executeStep(): Exception is in merge_task.: Code: 236. DB::Exception: Cancelled merging parts. (ABORTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757f4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000758244b 4. /build/src/Storages/MergeTree/MergeTask.cpp:263: DB::MergeTask::GlobalRuntimeContext::checkOperationIsNotCanceled() const @ 0x0000000013d3371a 5. /build/src/Storages/MergeTree/MergeTask.cpp:931: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::finalize() const @ 0x0000000013d3ff7c 6. /build/src/Storages/MergeTree/MergeTask.cpp:892: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() const @ 0x0000000013d3fd28 7. /build/src/Storages/MergeTree/MergeTask.cpp:720: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x0000000013d3e259 8. /build/src/Storages/MergeTree/MergeTask.cpp:1504: DB::MergeTask::execute() @ 0x0000000013d447ca 9. /build/src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:57: DB::MergePlainMergeTreeTask::executeStep() @ 0x00000000140d7504 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:308: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x0000000013d657ae 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:353: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x0000000013d660b1 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce17fb3 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1d362 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce15ac0 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1b3d2 16. ? @ 0x00007f9ca0f31ac3 17. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:43.952874 [ 357 ] {0bce824b-8f8e-4f8f-895c-723f547a1a4a} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00 million, current rows: 26.64 million: While executing Remote. (TOO_MANY_ROWS) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::1]:42986) (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. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757f4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b204cb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b1fe72 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af951a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143ce823 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143c37b0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143c3a7e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:404: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x00000000143c447f 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce17fb3 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1d362 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce15ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1b3d2 14. ? @ 0x00007f9ca0f31ac3 15. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:43.954394 [ 357 ] {} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00 million, current rows: 26.64 million: While executing Remote. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757f4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b204cb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b1fe72 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af951a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143ce823 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143c37b0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143c3a7e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:404: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x00000000143c447f 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce17fb3 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1d362 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce15ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1b3d2 14. ? @ 0x00007f9ca0f31ac3 15. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:43.970981 [ 1908 ] {} TCPHandler: TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket (peer: [::ffff:127.0.0.1]:40148, local: [::ffff:127.0.0.3]:9000). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/ReadBufferFromPocoSocket.cpp:83: DB::ReadBufferFromPocoSocketBase::socketReceiveBytesImpl(char*, unsigned long) @ 0x000000000ce9e8ee 4. /build/src/IO/ReadBufferFromPocoSocket.cpp:107: DB::ReadBufferFromPocoSocketBase::nextImpl() @ 0x000000000ce9ee23 5. /build/src/IO/ReadBuffer.h:67: DB::ReadBuffer::next() @ 0x000000000765c29b 6. /build/src/IO/ReadBuffer.h:103: DB::TCPHandler::runImpl() @ 0x000000001430b9be 7. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 8. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 9. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 10. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 11. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 12. ? @ 0x00007f9ca0f31ac3 13. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:43.970989 [ 3124 ] {} TCPHandler: TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket (peer: [::ffff:127.0.0.1]:43148, local: [::ffff:127.0.0.2]:9000). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/ReadBufferFromPocoSocket.cpp:83: DB::ReadBufferFromPocoSocketBase::socketReceiveBytesImpl(char*, unsigned long) @ 0x000000000ce9e8ee 4. /build/src/IO/ReadBufferFromPocoSocket.cpp:107: DB::ReadBufferFromPocoSocketBase::nextImpl() @ 0x000000000ce9ee23 5. /build/src/IO/ReadBuffer.h:67: DB::ReadBuffer::next() @ 0x000000000765c29b 6. /build/src/IO/ReadBuffer.h:103: DB::TCPHandler::runImpl() @ 0x000000001430b9be 7. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 8. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 9. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 10. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 11. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 12. ? @ 0x00007f9ca0f31ac3 13. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:43.971021 [ 1837 ] {} TCPHandler: TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket (peer: [::ffff:127.0.0.1]:57458, local: [::ffff:127.0.0.1]:9000). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/ReadBufferFromPocoSocket.cpp:83: DB::ReadBufferFromPocoSocketBase::socketReceiveBytesImpl(char*, unsigned long) @ 0x000000000ce9e8ee 4. /build/src/IO/ReadBufferFromPocoSocket.cpp:107: DB::ReadBufferFromPocoSocketBase::nextImpl() @ 0x000000000ce9ee23 5. /build/src/IO/ReadBuffer.h:67: DB::ReadBuffer::next() @ 0x000000000765c29b 6. /build/src/IO/ReadBuffer.h:103: DB::TCPHandler::runImpl() @ 0x000000001430b9be 7. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 8. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 9. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 10. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 11. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 12. ? @ 0x00007f9ca0f31ac3 13. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:43.971114 [ 1908 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket (peer: [::ffff:127.0.0.1]:40148, local: [::ffff:127.0.0.3]:9000). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/ReadBufferFromPocoSocket.cpp:83: DB::ReadBufferFromPocoSocketBase::socketReceiveBytesImpl(char*, unsigned long) @ 0x000000000ce9e8ee 4. /build/src/IO/ReadBufferFromPocoSocket.cpp:107: DB::ReadBufferFromPocoSocketBase::nextImpl() @ 0x000000000ce9ee23 5. /build/src/IO/ReadBuffer.h:67: DB::ReadBuffer::next() @ 0x000000000765c29b 6. /build/src/IO/ReadBuffer.h:103: DB::TCPHandler::runImpl() @ 0x000000001430b9be 7. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 8. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 9. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 10. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 11. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 12. ? @ 0x00007f9ca0f31ac3 13. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:43.971176 [ 3124 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket (peer: [::ffff:127.0.0.1]:43148, local: [::ffff:127.0.0.2]:9000). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/ReadBufferFromPocoSocket.cpp:83: DB::ReadBufferFromPocoSocketBase::socketReceiveBytesImpl(char*, unsigned long) @ 0x000000000ce9e8ee 4. /build/src/IO/ReadBufferFromPocoSocket.cpp:107: DB::ReadBufferFromPocoSocketBase::nextImpl() @ 0x000000000ce9ee23 5. /build/src/IO/ReadBuffer.h:67: DB::ReadBuffer::next() @ 0x000000000765c29b 6. /build/src/IO/ReadBuffer.h:103: DB::TCPHandler::runImpl() @ 0x000000001430b9be 7. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 8. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 9. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 10. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 11. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 12. ? @ 0x00007f9ca0f31ac3 13. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:43.971250 [ 1837 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket (peer: [::ffff:127.0.0.1]:57458, local: [::ffff:127.0.0.1]:9000). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/ReadBufferFromPocoSocket.cpp:83: DB::ReadBufferFromPocoSocketBase::socketReceiveBytesImpl(char*, unsigned long) @ 0x000000000ce9e8ee 4. /build/src/IO/ReadBufferFromPocoSocket.cpp:107: DB::ReadBufferFromPocoSocketBase::nextImpl() @ 0x000000000ce9ee23 5. /build/src/IO/ReadBuffer.h:67: DB::ReadBuffer::next() @ 0x000000000765c29b 6. /build/src/IO/ReadBuffer.h:103: DB::TCPHandler::runImpl() @ 0x000000001430b9be 7. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 8. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 9. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 10. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 11. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 12. ? @ 0x00007f9ca0f31ac3 13. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:44.174877 [ 357 ] {b1158009-7fdb-410c-af97-168cd9b86331} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00 million, current rows: 26.66 million: While executing Remote. (TOO_MANY_ROWS) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::1]:42996) (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. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757f4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b204cb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b1fe72 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af951a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143ce823 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143c37b0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143c3a7e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:404: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x00000000143c447f 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce17fb3 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1d362 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce15ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1b3d2 14. ? @ 0x00007f9ca0f31ac3 15. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.176448 [ 357 ] {} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00 million, current rows: 26.66 million: While executing Remote. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757f4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b204cb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b1fe72 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af951a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143ce823 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143c37b0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143c3a7e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:404: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x00000000143c447f 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce17fb3 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1d362 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce15ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1b3d2 14. ? @ 0x00007f9ca0f31ac3 15. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.194706 [ 1795 ] {48b52f8a-939d-429d-9f63-3577b90f2a94} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:56816). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:44.194757 [ 1908 ] {b8a6034a-0ca4-48f7-9bb9-2fdd218cfbcc} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:40158). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:44.194789 [ 3124 ] {2a3dd22c-fb24-4a9c-a2a8-3b2763ee8851} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:43156). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:44.194812 [ 1837 ] {70a52aa3-3210-4694-957f-a500c3f9878e} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:57470). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:44.195302 [ 1795 ] {48b52f8a-939d-429d-9f63-3577b90f2a94} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:56816). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:56816) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.195402 [ 3124 ] {2a3dd22c-fb24-4a9c-a2a8-3b2763ee8851} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:43156). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:43156) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.195429 [ 1908 ] {b8a6034a-0ca4-48f7-9bb9-2fdd218cfbcc} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:40158). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:40158) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.195474 [ 1837 ] {70a52aa3-3210-4694-957f-a500c3f9878e} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:57470). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:57470) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.196005 [ 3124 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:43156). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.196041 [ 1908 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:40158). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.196144 [ 1837 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:57470). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.196243 [ 1795 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:56816). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.414285 [ 357 ] {c8b795dd-e005-415a-8e5c-0b93fbc9f81d} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00 million, current rows: 26.69 million: While executing Remote. (TOO_MANY_ROWS) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::1]:43008) (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. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757f4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b204cb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b1fe72 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af951a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143ce823 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143c37b0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143c3a7e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:404: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x00000000143c447f 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce17fb3 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1d362 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce15ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1b3d2 14. ? @ 0x00007f9ca0f31ac3 15. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.415126 [ 1795 ] {1f09d908-1c73-45c2-8552-69586a299354} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:56832). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:44.415301 [ 1908 ] {8253ab25-7145-43af-807c-ecb33b5b443b} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:40170). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:44.415374 [ 3124 ] {0fad79a2-5df5-4b7d-a837-48e6304b4707} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:43160). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:44.415551 [ 1837 ] {6d03f0c6-2d75-42d1-9162-0bf5c83beeb2} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:57482). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:44.415675 [ 1795 ] {1f09d908-1c73-45c2-8552-69586a299354} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:56832). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:56832) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.415912 [ 357 ] {} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00 million, current rows: 26.69 million: While executing Remote. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757f4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b204cb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b1fe72 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af951a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143ce823 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143c37b0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143c3a7e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:404: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x00000000143c447f 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce17fb3 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1d362 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce15ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1b3d2 14. ? @ 0x00007f9ca0f31ac3 15. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.415916 [ 1908 ] {8253ab25-7145-43af-807c-ecb33b5b443b} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:40170). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:40170) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.415937 [ 3124 ] {0fad79a2-5df5-4b7d-a837-48e6304b4707} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:43160). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:43160) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.416038 [ 1837 ] {6d03f0c6-2d75-42d1-9162-0bf5c83beeb2} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:57482). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:57482) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.416879 [ 1795 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:56832). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.417330 [ 1837 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:57482). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.417507 [ 3124 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:43160). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.417725 [ 1908 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:40170). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.428099 [ 3126 ] {b0037481-3486-4e95-a2ca-38897b75fb62} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:38570). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:38570) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2564: DB::TCPHandler::sendProgress(DB::QueryState&) @ 0x000000001431729c 6. /build/src/Server/TCPHandler.cpp:1251: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316c7f 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.429247 [ 3126 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:38570). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2564: DB::TCPHandler::sendProgress(DB::QueryState&) @ 0x000000001431729c 6. /build/src/Server/TCPHandler.cpp:1251: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316c7f 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.663902 [ 1909 ] {d727cbb2-eef6-42a9-a2e4-2fabcfa29617} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00 million, current rows: 26.67 million: While executing Remote. (TOO_MANY_ROWS) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::1]:43012) (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. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757f4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b204cb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b1fe72 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af951a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143ce823 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143c37b0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143c3a7e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:404: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x00000000143c447f 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce17fb3 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1d362 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce15ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1b3d2 14. ? @ 0x00007f9ca0f31ac3 15. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.664472 [ 3126 ] {3e64c9b2-292d-4faa-ad39-528b81952de8} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:44646). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:44.664547 [ 3124 ] {3c91c08b-c0a8-4837-b9cc-cc95494ef602} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:38586). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:44.664740 [ 1908 ] {7063d86a-1df6-4695-a972-ff2407fdacc0} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:56846). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:44.664857 [ 1795 ] {da63bf5c-3f59-4647-ac33-de9128e3618f} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:40176). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:44.665132 [ 357 ] {83a9c015-ee5d-45ad-a1f8-c4f9a8cf4e5b} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:43168). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:44.665184 [ 3124 ] {3c91c08b-c0a8-4837-b9cc-cc95494ef602} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:38586). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:38586) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.665267 [ 1837 ] {78a3d789-8297-4093-9e78-8d64926b2a76} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:57496). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:44.665339 [ 3126 ] {3e64c9b2-292d-4faa-ad39-528b81952de8} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:44646). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:44646) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.665369 [ 1908 ] {7063d86a-1df6-4695-a972-ff2407fdacc0} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:56846). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:56846) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.665397 [ 1795 ] {da63bf5c-3f59-4647-ac33-de9128e3618f} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:40176). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:40176) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.665641 [ 1909 ] {} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00 million, current rows: 26.67 million: While executing Remote. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757f4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b204cb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b1fe72 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af951a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143ce823 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143c37b0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143c3a7e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:404: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x00000000143c447f 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce17fb3 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1d362 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce15ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1b3d2 14. ? @ 0x00007f9ca0f31ac3 15. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.665742 [ 357 ] {83a9c015-ee5d-45ad-a1f8-c4f9a8cf4e5b} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:43168). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:43168) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.665952 [ 1837 ] {78a3d789-8297-4093-9e78-8d64926b2a76} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:57496). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:57496) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.666362 [ 3124 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:38586). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.666614 [ 1908 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:56846). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.666677 [ 3126 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:44646). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.666764 [ 357 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:43168). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.667341 [ 1795 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:40176). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.667519 [ 1837 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:57496). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.867567 [ 1908 ] {7e3e6e28-88c6-4a8d-a634-5bf8065e4e33} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00 million, current rows: 26.64 million: While executing Remote. (TOO_MANY_ROWS) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::1]:43018) (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. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757f4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b204cb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b1fe72 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af951a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143ce823 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143c37b0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143c3a7e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:404: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x00000000143c447f 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce17fb3 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1d362 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce15ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1b3d2 14. ? @ 0x00007f9ca0f31ac3 15. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.868150 [ 357 ] {521ed939-ee77-4c4a-8184-4bc835b81c74} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:47004). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:44.868600 [ 1909 ] {8c10f337-f812-4dc5-9ab8-22cffea05caf} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:56854). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:44.868975 [ 3126 ] {6fa3c298-ce05-47de-bd73-cb4200f2cbb6} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:43184). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:44.869565 [ 3129 ] {9925f84d-ee4b-4407-8faf-b164377af9f6} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:40188). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:44.870130 [ 1908 ] {} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00 million, current rows: 26.64 million: While executing Remote. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757f4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b204cb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b1fe72 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af951a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143ce823 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143c37b0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143c3a7e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:404: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x00000000143c447f 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce17fb3 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1d362 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce15ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1b3d2 14. ? @ 0x00007f9ca0f31ac3 15. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.870362 [ 3126 ] {6fa3c298-ce05-47de-bd73-cb4200f2cbb6} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:43184). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:43184) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.870634 [ 357 ] {521ed939-ee77-4c4a-8184-4bc835b81c74} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:47004). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:47004) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.870667 [ 3129 ] {9925f84d-ee4b-4407-8faf-b164377af9f6} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:40188). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:40188) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.870749 [ 1909 ] {8c10f337-f812-4dc5-9ab8-22cffea05caf} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:56854). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:56854) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.871728 [ 1909 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:56854). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.871935 [ 3129 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:40188). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.871995 [ 357 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:47004). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.872086 [ 3126 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:43184). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.884640 [ 3124 ] {1cd421e5-af44-4814-bb66-1e5cde127366} 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.6]:9000 -> [::ffff:127.0.0.1]:44656). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:825: DB::TCPHandler::runImpl() @ 0x000000001430c90c 6. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 7. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 8. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 9. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 10. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 11. ? @ 0x00007f9ca0f31ac3 12. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:44.930814 [ 1795 ] {98243402-2c5f-4757-aec6-45086e23b350} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:57510). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:44.931305 [ 1795 ] {98243402-2c5f-4757-aec6-45086e23b350} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:57510). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:57510) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.932822 [ 1795 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:57510). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.941266 [ 1837 ] {11e0fe1b-186d-419e-9eb1-933e93943d51} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:38592). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:44.941926 [ 1837 ] {11e0fe1b-186d-419e-9eb1-933e93943d51} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:38592). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:38592) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:44.944542 [ 1837 ] {} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:38592). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.118373 [ 357 ] {8b2296ef-ca52-4d1b-8725-526ff45f19cb} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00 million, current rows: 35.52 million: While executing Remote. (TOO_MANY_ROWS) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::1]:43028) (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. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757f4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b204cb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b1fe72 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af951a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143ce823 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143c37b0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143c3a7e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:404: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x00000000143c447f 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce17fb3 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1d362 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce15ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1b3d2 14. ? @ 0x00007f9ca0f31ac3 15. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.118892 [ 3129 ] {f9249366-0411-4c96-b7f8-2bd9a498adef} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:35022). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:45.119528 [ 3129 ] {f9249366-0411-4c96-b7f8-2bd9a498adef} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:35022). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:35022) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.119789 [ 3124 ] {dbd25462-b53e-46f5-b7f6-0370e604b3a9} 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]:43198). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:825: DB::TCPHandler::runImpl() @ 0x000000001430c90c 6. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 7. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 8. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 9. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 10. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 11. ? @ 0x00007f9ca0f31ac3 12. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:45.119791 [ 3128 ] {672dfba2-019d-4190-944f-40f5ff1c768d} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:56858). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:45.120074 [ 1908 ] {ea1be69f-a3de-472b-a5a1-509c705ce0f5} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:40200). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:45.120308 [ 3126 ] {9ab8ad7a-e96f-417d-beae-68f691ea195a} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:47020). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:45.120429 [ 357 ] {} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00 million, current rows: 35.52 million: While executing Remote. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757f4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b204cb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b1fe72 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af951a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143ce823 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143c37b0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143c3a7e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:404: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x00000000143c447f 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce17fb3 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1d362 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce15ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1b3d2 14. ? @ 0x00007f9ca0f31ac3 15. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.120633 [ 1908 ] {ea1be69f-a3de-472b-a5a1-509c705ce0f5} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:40200). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:40200) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.120730 [ 3129 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:35022). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.120830 [ 3128 ] {672dfba2-019d-4190-944f-40f5ff1c768d} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:56858). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:56858) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.121635 [ 1908 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:40200). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.122055 [ 3126 ] {9ab8ad7a-e96f-417d-beae-68f691ea195a} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:47020). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:47020) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.122424 [ 3128 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:56858). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.123262 [ 3126 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:47020). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.134842 [ 1837 ] {410cbe18-d6de-4b11-98da-05113442e54a} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:57526). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:45.135362 [ 1837 ] {410cbe18-d6de-4b11-98da-05113442e54a} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:57526). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:57526) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.136754 [ 1837 ] {} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:57526). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.143925 [ 3125 ] {9fbac613-1a4e-4d23-9fd2-7f2310b3c9e6} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:44670). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:45.144525 [ 3125 ] {9fbac613-1a4e-4d23-9fd2-7f2310b3c9e6} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:44670). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:44670) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.145143 [ 1795 ] {699f4ddd-021b-4577-bf2f-0c91edcdc9d4} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:38608). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:45.145920 [ 1795 ] {699f4ddd-021b-4577-bf2f-0c91edcdc9d4} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:38608). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:38608) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.147147 [ 3125 ] {} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:44670). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.149384 [ 1795 ] {} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:38608). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.383476 [ 4159 ] {30e15a5f-d2b1-42c5-be8f-6e652a145ebd} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00 million, current rows: 26.64 million: While executing Remote. (TOO_MANY_ROWS) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::1]:43040) (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. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757f4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b204cb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b1fe72 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af951a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143ce823 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143c37b0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143c3a7e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:404: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x00000000143c447f 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce17fb3 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1d362 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce15ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1b3d2 14. ? @ 0x00007f9ca0f31ac3 15. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.384257 [ 3129 ] {47d2d887-1e04-4b76-82d8-1ed024176952} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:35030). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:45.384361 [ 1908 ] {08563de5-61a2-4a2f-bce2-c925957c48e3} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:44674). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:45.384622 [ 3128 ] {a10a9054-ae08-4480-a199-1e6f1454acb4} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:56860). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:45.384652 [ 1795 ] {41b15755-ac83-493c-8fce-815095edd336} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:38614). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:45.384905 [ 1908 ] {08563de5-61a2-4a2f-bce2-c925957c48e3} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:44674). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:44674) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.385243 [ 4159 ] {} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00 million, current rows: 26.64 million: While executing Remote. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757f4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b204cb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b1fe72 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af951a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143ce823 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143c37b0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143c3a7e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:404: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x00000000143c447f 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce17fb3 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1d362 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce15ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1b3d2 14. ? @ 0x00007f9ca0f31ac3 15. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.385337 [ 1795 ] {41b15755-ac83-493c-8fce-815095edd336} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:38614). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:38614) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.385359 [ 357 ] {ff273305-5743-4a16-be08-f53a394a7c48} 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.1]:9000 -> [::ffff:127.0.0.1]:57530). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:825: DB::TCPHandler::runImpl() @ 0x000000001430c90c 6. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 7. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 8. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 9. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 10. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 11. ? @ 0x00007f9ca0f31ac3 12. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:45.385502 [ 3128 ] {a10a9054-ae08-4480-a199-1e6f1454acb4} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:56860). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:56860) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.385791 [ 1908 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:44674). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.386774 [ 3129 ] {47d2d887-1e04-4b76-82d8-1ed024176952} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:35030). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:35030) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.387117 [ 3128 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:56860). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.387589 [ 3129 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:35030). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.387886 [ 1795 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:38614). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.401061 [ 3126 ] {04eeeba9-868d-4078-b974-6d6f7a2ae8f6} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.9]:9000 -> [::ffff:127.0.0.1]:60182). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:45.401620 [ 3126 ] {04eeeba9-868d-4078-b974-6d6f7a2ae8f6} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.9]:9000 -> [::ffff:127.0.0.1]:60182). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:60182) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.403117 [ 3126 ] {} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.9]:9000 -> [::ffff:127.0.0.1]:60182). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.622498 [ 357 ] {b5c992cd-356c-4233-8c9d-4bfa0cc0d2ff} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00 million, current rows: 26.64 million: While executing Remote. (TOO_MANY_ROWS) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::1]:43050) (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. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757f4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b204cb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b1fe72 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af951a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143ce823 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143c37b0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143c3a7e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:404: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x00000000143c447f 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce17fb3 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1d362 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce15ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1b3d2 14. ? @ 0x00007f9ca0f31ac3 15. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.625148 [ 3129 ] {5fb7e000-85d6-4324-9bf4-e3dfa74b8b5d} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.9]:9000 -> [::ffff:127.0.0.1]:60188). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:45.626245 [ 4173 ] {a914a7f0-9955-48ba-989e-a12b8df3e532} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:35044). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:45.626810 [ 4173 ] {a914a7f0-9955-48ba-989e-a12b8df3e532} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:35044). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:35044) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.627558 [ 1908 ] {e8afa548-bcfc-49e9-92ca-01b054669d1e} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:56864). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:45.628632 [ 4173 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:35044). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.628700 [ 3128 ] {eae2d8fe-c03e-400e-8e5e-09e8d1860043} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:40216). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:45.629497 [ 357 ] {} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00 million, current rows: 26.64 million: While executing Remote. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757f4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b204cb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b1fe72 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af951a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143ce823 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143c37b0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143c3a7e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:404: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x00000000143c447f 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce17fb3 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1d362 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce15ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1b3d2 14. ? @ 0x00007f9ca0f31ac3 15. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.631494 [ 3129 ] {5fb7e000-85d6-4324-9bf4-e3dfa74b8b5d} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.9]:9000 -> [::ffff:127.0.0.1]:60188). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:60188) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.633037 [ 3129 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.9]:9000 -> [::ffff:127.0.0.1]:60188). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.633540 [ 1908 ] {e8afa548-bcfc-49e9-92ca-01b054669d1e} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:56864). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:56864) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.634809 [ 1908 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:56864). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.635352 [ 1795 ] {bec8ca06-48d7-431b-b347-9f1e3469f3b1} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:44688). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:45.635969 [ 1795 ] {bec8ca06-48d7-431b-b347-9f1e3469f3b1} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:44688). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:44688) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.637992 [ 1795 ] {} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:44688). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.641626 [ 1837 ] {1eba5ce2-0046-4354-a713-7586c2eda6d5} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:57532). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:45.642217 [ 1837 ] {1eba5ce2-0046-4354-a713-7586c2eda6d5} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:57532). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:57532) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.643929 [ 1837 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:57532). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.647402 [ 3128 ] {eae2d8fe-c03e-400e-8e5e-09e8d1860043} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:40216). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:40216) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.648509 [ 3128 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:40216). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.650167 [ 3124 ] {486826f4-028a-4694-b319-41e97e143f9c} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:43222). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:45.650714 [ 3124 ] {486826f4-028a-4694-b319-41e97e143f9c} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:43222). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:43222) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.652064 [ 3124 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:43222). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.664215 [ 3126 ] {0dcaf505-02e1-400a-a73b-3773fa68210d} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:38620). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:42:45.664796 [ 3126 ] {0dcaf505-02e1-400a-a73b-3773fa68210d} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:38620). (NETWORK_ERROR) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:38620) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:42:45.667338 [ 3126 ] {} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:38620). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9f35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000cea0907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758b97e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431f17b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x0000000014316ccd 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x000000001430c4f6 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 13. ? @ 0x00007f9ca0f31ac3 14. ? @ 0x00007f9ca0fc3850 2025.04.03 15:43:06.981259 [ 3129 ] {f3e47396-08ff-4a78-b7d3-7172e82727fd} 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.20231.altinityantalya (altinity build)) (from [::1]:34252) (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. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757f4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b204cb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b1fe72 5. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:315: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001481d735 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:2082: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x00000000148317a7 7. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x00000000147f020d 8. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001481218b 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:261: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x00000000128af931 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:228: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x00000000128af6be 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:604: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011f6f59a 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3854: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011f695aa 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3975: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x0000000011f68280 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:2879: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011f7d5e8 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3817: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011f6913c 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3975: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x0000000011f68280 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4299: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011f8fa09 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5563: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011f62685 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:172: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011f619b9 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:18: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x0000000011f6128e 21. /build/src/Analyzer/QueryTreePassManager.cpp:184: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000126197ca 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:149: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000128aea18 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:167: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000128ad4e9 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x00000000128afe64 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000128580eb 26. /build/src/Interpreters/executeQuery.cpp:1305: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000012b936bc 27. /build/src/Interpreters/executeQuery.cpp:1535: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x0000000012b8fba1 28. /build/src/Server/TCPHandler.cpp:656: DB::TCPHandler::runImpl() @ 0x000000001430c3b1 29. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 2025.04.03 15:43:06.981611 [ 3129 ] {} 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. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757f4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b204cb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b1fe72 5. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:315: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001481d735 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:2082: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x00000000148317a7 7. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x00000000147f020d 8. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001481218b 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:261: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x00000000128af931 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:228: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x00000000128af6be 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:604: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011f6f59a 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3854: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011f695aa 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3975: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x0000000011f68280 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:2879: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011f7d5e8 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3817: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011f6913c 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3975: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x0000000011f68280 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4299: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011f8fa09 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5563: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011f62685 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:172: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011f619b9 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:18: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x0000000011f6128e 21. /build/src/Analyzer/QueryTreePassManager.cpp:184: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000126197ca 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:149: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000128aea18 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:167: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000128ad4e9 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x00000000128afe64 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000128580eb 26. /build/src/Interpreters/executeQuery.cpp:1305: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000012b936bc 27. /build/src/Interpreters/executeQuery.cpp:1535: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x0000000012b8fba1 28. /build/src/Server/TCPHandler.cpp:656: DB::TCPHandler::runImpl() @ 0x000000001430c3b1 29. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 2025.04.03 15:43:07.014378 [ 3129 ] {f7db0bed-4f64-4b09-800e-9de8bced7420} 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.20231.altinityantalya (altinity build)) (from [::1]:34252) (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. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757f4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b204cb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b1fe72 5. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:315: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001481d735 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:2082: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x00000000148317a7 7. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x00000000147f020d 8. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001481218b 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:261: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x00000000128af931 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:228: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x00000000128af6be 11. /build/src/Interpreters/executeQuery.cpp:1368: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000012b93ed6 12. /build/src/Interpreters/executeQuery.cpp:1535: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x0000000012b8fba1 13. /build/src/Server/TCPHandler.cpp:656: DB::TCPHandler::runImpl() @ 0x000000001430c3b1 14. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 15. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 17. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 19. ? @ 0x00007f9ca0f31ac3 20. ? @ 0x00007f9ca0fc3850 2025.04.03 15:43:07.014884 [ 3129 ] {} 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. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757f4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b204cb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b1fe72 5. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:315: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001481d735 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:2082: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x00000000148317a7 7. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x00000000147f020d 8. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001481218b 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:261: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x00000000128af931 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:228: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x00000000128af6be 11. /build/src/Interpreters/executeQuery.cpp:1368: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000012b93ed6 12. /build/src/Interpreters/executeQuery.cpp:1535: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x0000000012b8fba1 13. /build/src/Server/TCPHandler.cpp:656: DB::TCPHandler::runImpl() @ 0x000000001430c3b1 14. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 15. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 17. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 19. ? @ 0x00007f9ca0f31ac3 20. ? @ 0x00007f9ca0fc3850 2025.04.03 15:43:07.054337 [ 3129 ] {d6dc7b7b-700d-4f14-b2c8-0397a913b63b} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 15.00 million, current rows: 17.78 million: While executing MergeTreeSelect(pool: ReadPool, algorithm: Thread). (TOO_MANY_ROWS) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::1]:34252) (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. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757f4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b204cb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b1fe72 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af951a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143ce823 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143c37b0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143c3a7e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:404: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x00000000143c447f 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce17fb3 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1d362 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce15ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1b3d2 14. ? @ 0x00007f9ca0f31ac3 15. ? @ 0x00007f9ca0fc3850 2025.04.03 15:43:07.054873 [ 3129 ] {} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 15.00 million, current rows: 17.78 million: While executing MergeTreeSelect(pool: ReadPool, algorithm: Thread). (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757f4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b204cb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b1fe72 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af951a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143ce823 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143c37b0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143c3a7e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:404: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x00000000143c447f 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce17fb3 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1d362 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce15ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1b3d2 14. ? @ 0x00007f9ca0f31ac3 15. ? @ 0x00007f9ca0fc3850 2025.04.03 15:43:07.094766 [ 3129 ] {a36531dc-bf26-4bcb-b99b-4149ff0fc9b8} 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.20231.altinityantalya (altinity build)) (from [::1]:34252) (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. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757f4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b204cb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b1fe72 5. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:315: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001481d735 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:2082: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x00000000148317a7 7. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x00000000147f020d 8. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001481218b 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:261: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x00000000128af931 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:228: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x00000000128af6be 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:604: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011f6f59a 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3854: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011f695aa 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3975: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x0000000011f68280 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:2879: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011f7d5e8 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3817: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011f6913c 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5588: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011f6289a 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:172: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011f619b9 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:18: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x0000000011f6128e 19. /build/src/Analyzer/QueryTreePassManager.cpp:184: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000126197ca 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:149: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000128aea18 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:167: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000128ad4e9 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x00000000128afe64 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000128580eb 24. /build/src/Interpreters/executeQuery.cpp:1305: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000012b936bc 25. /build/src/Interpreters/executeQuery.cpp:1535: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x0000000012b8fba1 26. /build/src/Server/TCPHandler.cpp:656: DB::TCPHandler::runImpl() @ 0x000000001430c3b1 27. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 2025.04.03 15:43:07.095072 [ 3129 ] {} 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. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757f4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b204cb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b1fe72 5. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:315: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001481d735 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:2082: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x00000000148317a7 7. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x00000000147f020d 8. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001481218b 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:261: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x00000000128af931 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:228: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x00000000128af6be 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:604: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011f6f59a 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3854: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011f695aa 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3975: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x0000000011f68280 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:2879: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011f7d5e8 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3817: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011f6913c 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5588: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011f6289a 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:172: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011f619b9 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:18: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x0000000011f6128e 19. /build/src/Analyzer/QueryTreePassManager.cpp:184: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000126197ca 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:149: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000128aea18 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:167: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000128ad4e9 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x00000000128afe64 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000128580eb 24. /build/src/Interpreters/executeQuery.cpp:1305: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000012b936bc 25. /build/src/Interpreters/executeQuery.cpp:1535: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x0000000012b8fba1 26. /build/src/Server/TCPHandler.cpp:656: DB::TCPHandler::runImpl() @ 0x000000001430c3b1 27. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x00000000143234b9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017fa59c7 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017fa5e9e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f51c32 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f4f923 2025.04.03 15:43:07.142726 [ 3129 ] {a71a6ca6-38e0-4bed-8ac1-43e554571e9b} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 10.00 million, current rows: 13.13 million: While executing MergeTreeSelect(pool: ReadPool, algorithm: Thread). (TOO_MANY_ROWS) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::1]:34252) (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. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757f4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b204cb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b1fe72 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af951a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143ce823 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143c37b0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143c3a7e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:404: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x00000000143c447f 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce17fb3 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1d362 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce15ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1b3d2 14. ? @ 0x00007f9ca0f31ac3 15. ? @ 0x00007f9ca0fc3850 2025.04.03 15:43:07.143111 [ 3129 ] {} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 10.00 million, current rows: 13.13 million: While executing MergeTreeSelect(pool: ReadPool, algorithm: Thread). (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757f4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b204cb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b1fe72 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af951a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143ce823 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143c37b0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143c3a7e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:404: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x00000000143c447f 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce17fb3 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1d362 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce15ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1b3d2 14. ? @ 0x00007f9ca0f31ac3 15. ? @ 0x00007f9ca0fc3850 2025.04.03 15:43:08.180726 [ 4173 ] {f5519d6c-cd66-41da-b314-4447ae1071ba} executeQuery: Code: 307. DB::Exception: Limit for rows or bytes to read exceeded, max bytes: 572.20 MiB, current bytes: 572.28 MiB: While executing MergeTreeSelect(pool: ReadPoolInOrder, algorithm: InOrder). (TOO_MANY_BYTES) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::1]:34254) (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. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757f4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000011b205ab 4. /build/src/QueryPipeline/SizeLimits.cpp:43: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b1ff61 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af951a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143ce823 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143c37b0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143c3a7e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:404: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x00000000143c447f 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce17fb3 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1d362 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce15ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1b3d2 14. ? @ 0x00007f9ca0f31ac3 15. ? @ 0x00007f9ca0fc3850 2025.04.03 15:43:08.181720 [ 4173 ] {} TCPHandler: Code: 307. DB::Exception: Limit for rows or bytes to read exceeded, max bytes: 572.20 MiB, current bytes: 572.28 MiB: While executing MergeTreeSelect(pool: ReadPoolInOrder, algorithm: InOrder). (TOO_MANY_BYTES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757f4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000011b205ab 4. /build/src/QueryPipeline/SizeLimits.cpp:43: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b1ff61 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af951a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143ce823 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143c37b0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143c3a7e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:404: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x00000000143c447f 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce17fb3 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1d362 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce15ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1b3d2 14. ? @ 0x00007f9ca0f31ac3 15. ? @ 0x00007f9ca0fc3850 2025.04.03 15:43:08.434931 [ 4173 ] {338a8cf6-9aef-4330-8ce8-c2b878f7be79} executeQuery: Code: 307. DB::Exception: Limit for rows or bytes to read exceeded, max bytes: 572.20 MiB, current bytes: 572.46 MiB: While executing MergeTreeSelect(pool: ReadPool, algorithm: Thread). (TOO_MANY_BYTES) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::1]:34254) (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. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757f4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000011b205ab 4. /build/src/QueryPipeline/SizeLimits.cpp:43: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b1ff61 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af951a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143ce823 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143c37b0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143c3a7e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:404: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x00000000143c447f 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce17fb3 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1d362 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce15ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1b3d2 14. ? @ 0x00007f9ca0f31ac3 15. ? @ 0x00007f9ca0fc3850 2025.04.03 15:43:08.435692 [ 4173 ] {} TCPHandler: Code: 307. DB::Exception: Limit for rows or bytes to read exceeded, max bytes: 572.20 MiB, current bytes: 572.46 MiB: While executing MergeTreeSelect(pool: ReadPool, algorithm: Thread). (TOO_MANY_BYTES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757f4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000011b205ab 4. /build/src/QueryPipeline/SizeLimits.cpp:43: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b1ff61 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af951a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143ce823 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143c37b0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143c3a7e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:404: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x00000000143c447f 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce17fb3 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1d362 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce15ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1b3d2 14. ? @ 0x00007f9ca0f31ac3 15. ? @ 0x00007f9ca0fc3850 2025.04.03 15:43:08.661837 [ 4173 ] {c54a3461-532a-47a5-84dc-6b5082e1b7cf} executeQuery: Code: 307. DB::Exception: Limit for rows or bytes to read exceeded, max bytes: 572.20 MiB, current bytes: 572.53 MiB: While executing MergeTreeSelect(pool: ReadPool, algorithm: Thread). (TOO_MANY_BYTES) (version 24.12.2.20231.altinityantalya (altinity build)) (from [::1]:34254) (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. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757f4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000011b205ab 4. /build/src/QueryPipeline/SizeLimits.cpp:43: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b1ff61 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af951a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143ce823 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143c37b0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143c3a7e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:404: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x00000000143c447f 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce17fb3 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1d362 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce15ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1b3d2 14. ? @ 0x00007f9ca0f31ac3 15. ? @ 0x00007f9ca0fc3850 2025.04.03 15:43:08.662476 [ 4173 ] {} TCPHandler: Code: 307. DB::Exception: Limit for rows or bytes to read exceeded, max bytes: 572.20 MiB, current bytes: 572.53 MiB: While executing MergeTreeSelect(pool: ReadPool, algorithm: Thread). (TOO_MANY_BYTES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757f4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000011b205ab 4. /build/src/QueryPipeline/SizeLimits.cpp:43: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b1ff61 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af951a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143ce823 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143c37b0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143c3a7e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:404: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x00000000143c447f 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce17fb3 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1d362 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce15ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1b3d2 14. ? @ 0x00007f9ca0f31ac3 15. ? @ 0x00007f9ca0fc3850 2025.04.03 15:43:19.710178 [ 965 ] {8d29bdf1-6057-45cd-a311-bf8f0ca513ad::all_1_7_1} virtual bool DB::MergePlainMergeTreeTask::executeStep(): Exception is in merge_task.: Code: 236. DB::Exception: Cancelled merging parts. (ABORTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017eff932 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd58af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757f4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000758244b 4. /build/src/Storages/MergeTree/MergeTask.cpp:263: DB::MergeTask::GlobalRuntimeContext::checkOperationIsNotCanceled() const @ 0x0000000013d3371a 5. /build/src/Storages/MergeTree/MergeTask.cpp:931: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::finalize() const @ 0x0000000013d3ff7c 6. /build/src/Storages/MergeTree/MergeTask.cpp:892: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() const @ 0x0000000013d3fd28 7. /build/src/Storages/MergeTree/MergeTask.cpp:720: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x0000000013d3e259 8. /build/src/Storages/MergeTree/MergeTask.cpp:1504: DB::MergeTask::execute() @ 0x0000000013d447ca 9. /build/src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:57: DB::MergePlainMergeTreeTask::executeStep() @ 0x00000000140d7504 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:308: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x0000000013d657ae 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:353: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x0000000013d660b1 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce17fb3 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1d362 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce15ac0 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1b3d2 16. ? @ 0x00007f9ca0f31ac3 17. ? @ 0x00007f9ca0fc3850 (version 24.12.2.20231.altinityantalya (altinity build)) 2025.04.03 15:45:53.202282 [ 350 ] {} Application: Closed all listening sockets. Waiting for 3 outstanding connections.