2024.03.05 17:49:46.859215 [ 336 ] {} Context: Server was built with sanitizer. It will work slowly. 2024.03.05 17:49:46.859420 [ 336 ] {} Context: Server logging level is set to 'test' and performance is degraded. This cannot be used in production. 2024.03.05 17:49:46.864017 [ 336 ] {} 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. 2024.03.05 17:49:57.337756 [ 336 ] {} KeeperLogStore: No logs exists in /var/lib/clickhouse/coordination/logs. It's Ok if it's the first run of clickhouse-keeper. 2024.03.05 17:49:57.338672 [ 336 ] {} KeeperLogStore: Removing all changelogs 2024.03.05 17:49:57.341552 [ 336 ] {} KeeperServer: Got 1000000000000000 value for setting 'reserved_log_items' which is bigger than int32_t max value, lowering value to 2147483647. 2024.03.05 17:49:57.345184 [ 336 ] {} KeeperStateManager: No state was read 2024.03.05 17:49:57.345256 [ 336 ] {} RaftInstance: invalid election timeout lower bound detected, adjusted to 0 2024.03.05 17:49:57.345305 [ 336 ] {} RaftInstance: invalid election timeout upper bound detected, adjusted to 0 2024.03.05 17:49:57.396345 [ 667 ] {} RaftInstance: Election timeout, initiate leader election 2024.03.05 17:49:57.475664 [ 336 ] {} Access(local directory): File /var/lib/clickhouse/access/users.list doesn't exist 2024.03.05 17:49:57.475747 [ 336 ] {} Access(local directory): Recovering lists in directory /var/lib/clickhouse/access/ 2024.03.05 17:49:57.621072 [ 336 ] {} Context: Table system.session_log is enabled. It's unreliable and may contain garbage. Do not use it for any kind of security monitoring. 2024.03.05 17:50:23.475835 [ 336 ] {} KeeperLogStore: Changelog is shut down 2024.03.05 17:50:27.899438 [ 825 ] {} Context: Server was built with sanitizer. It will work slowly. 2024.03.05 17:50:27.899641 [ 825 ] {} Context: Server logging level is set to 'test' and performance is degraded. This cannot be used in production. 2024.03.05 17:50:27.904934 [ 825 ] {} 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. 2024.03.05 17:50:41.222053 [ 825 ] {} KeeperServer: Got 1000000000000000 value for setting 'reserved_log_items' which is bigger than int32_t max value, lowering value to 2147483647. 2024.03.05 17:50:41.227290 [ 825 ] {} RaftInstance: invalid election timeout lower bound detected, adjusted to 0 2024.03.05 17:50:41.227363 [ 825 ] {} RaftInstance: invalid election timeout upper bound detected, adjusted to 0 2024.03.05 17:50:41.278552 [ 1062 ] {} RaftInstance: Election timeout, initiate leader election 2024.03.05 17:50:42.254682 [ 1141 ] {} Container already exists, returning the existing container: std::exception. Code: 1001, type: Azure::Storage::StorageException, e.what() = 409 The specified container already exists. The specified container already exists. RequestId:23427804-de94-4265-a3d8-2ea5c6f51789 Time:2024-03-05T14:50:41.476Z Request ID: 23427804-de94-4265-a3d8-2ea5c6f51789, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: std::runtime_error::runtime_error(String const&) @ 0x6567c59d in /usr/bin/clickhouse 1. ./build_docker/./contrib/azure/sdk/core/azure-core/inc/azure/core/exception.hpp:29: Azure::Storage::StorageException::CreateFromResponse(std::unique_ptr>) @ 0x4f342864 in /usr/bin/clickhouse 2. ./build_docker/./contrib/azure/sdk/storage/azure-storage-blobs/inc/azure/storage/blobs/protocol/blob_rest_client.hpp:0: Azure::Storage::Blobs::_detail::BlobRestClient::BlobContainer::Create(Azure::Core::Http::_internal::HttpPipeline&, Azure::Core::Url const&, Azure::Storage::Blobs::_detail::BlobRestClient::BlobContainer::CreateBlobContainerOptions const&, Azure::Core::Context const&) @ 0x4f1a58f4 in /usr/bin/clickhouse 3. ./build_docker/./contrib/azure/sdk/storage/azure-storage-blobs/src/blob_container_client.cpp:149: Azure::Storage::Blobs::BlobContainerClient::Create(Azure::Storage::Blobs::CreateBlobContainerOptions const&, Azure::Core::Context const&) const @ 0x4f198766 in /usr/bin/clickhouse 4. ./build_docker/./contrib/azure/sdk/storage/azure-storage-blobs/src/blob_service_client.cpp:0: Azure::Storage::Blobs::BlobServiceClient::CreateBlobContainer(String const&, Azure::Storage::Blobs::CreateBlobContainerOptions const&, Azure::Core::Context const&) const @ 0x4f21d1d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::getAzureBlobContainerClient(Poco::Util::AbstractConfiguration const&, String const&) @ 0x446d8375 in /usr/bin/clickhouse 6. ./build_docker/./src/Disks/ObjectStorages/AzureBlobStorage/registerDiskAzureBlobStorage.cpp:31: std::shared_ptr std::__function::__policy_invoker (String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::map, std::less, std::allocator>>> const&)>::__call_impl (String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::map, std::less, std::allocator>>> const&)>>(std::__function::__policy_storage const*, String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::map, std::less, std::allocator>>> const&) @ 0x446cd796 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DiskFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::map, std::less, std::allocator>>> const&) const @ 0x44489457 in /usr/bin/clickhouse 8. ./build_docker/./src/Disks/DiskSelector.cpp:49: DB::DiskSelector::initialize(Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr) @ 0x44e42f80 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Context::getDiskSelector(std::lock_guard&) const @ 0x44d2e549 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Context.cpp:3136: DB::Context::getStoragePolicySelector(std::lock_guard&) const @ 0x44ccacbc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Context.cpp:3068: DB::Context::getStoragePolicy(String const&) const @ 0x44d2fc88 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::getStoragePolicy() const @ 0x4ba1a246 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeData.h:912: DB::MergeTreeData::initializeDirectoriesAndFormatVersion(String const&, bool, String const&, bool) @ 0x4ba07a5d in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x4c7393ca in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x4c73709c in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x4c7290fe in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x4242dbc4 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x4a435cae in /usr/bin/clickhouse 19. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:0: DB::createTableFromAST(DB::ASTCreateQuery, String const&, String const&, std::shared_ptr, bool) @ 0x4428d6ff in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::DatabaseOrdinary::loadTableFromMetadata(std::shared_ptr, String const&, DB::QualifiedTableName const&, std::shared_ptr const&, DB::LoadingStrictnessLevel) @ 0x44305013 in /usr/bin/clickhouse 21. ./build_docker/./src/Databases/TablesLoader.cpp:209: void std::__function::__policy_invoker::__call_impl>&, std::shared_ptr, std::vector> const&, unsigned long)::$_1, void ()>>(std::__function::__policy_storage const*) @ 0x4445c4bd in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x29cf9d13 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.h:228: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x29d07ec9 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x29d07d49 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 27. ? @ 0x7fe9ee57a609 in ? 28. clone @ 0x7fe9ee49f353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.05 17:50:42.935889 [ 825 ] {} Context: Table system.session_log is enabled. It's unreliable and may contain garbage. Do not use it for any kind of security monitoring. 2024.03.05 17:54:20.819427 [ 833 ] {2fc4a299-b7dc-49b6-be38-d267a31a2e9c} 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: While processing (SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery3: While processing 1 = ((SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery3). (TOO_MANY_ROWS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35744) (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_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x43be5e88 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x43be542a in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x43be5959 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:167: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x4dfaaee5 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x4deb4d37 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x4df1b83d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x48018dd5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x48ca9abd in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x48ca88bf in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x48b1436e in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x48b14711 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x48cb7ee0 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x48ca89e8 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x48b1436e in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x48b14711 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x48b14749 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.h:33: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x48aeb76f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x48ad627e in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x47d841e1 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x47d76330 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x47d69515 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x48010a5c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x4800a8a1 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x47c6ba98 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x47c65f7d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x48dfe28b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x48df5b9e in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x4cd813b6 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::run() @ 0x4cdcac19 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x5959b65e in /usr/bin/clickhouse 2024.03.05 17:54:20.820534 [ 833 ] {2fc4a299-b7dc-49b6-be38-d267a31a2e9c} 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: While processing (SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery3: While processing 1 = ((SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery3). (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x43be5e88 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x43be542a in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x43be5959 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:167: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x4dfaaee5 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x4deb4d37 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x4df1b83d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x48018dd5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x48ca9abd in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x48ca88bf in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x48b1436e in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x48b14711 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x48cb7ee0 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x48ca89e8 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x48b1436e in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x48b14711 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x48b14749 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.h:33: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x48aeb76f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x48ad627e in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x47d841e1 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x47d76330 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x47d69515 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x48010a5c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x4800a8a1 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x47c6ba98 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x47c65f7d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x48dfe28b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x48df5b9e in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x4cd813b6 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::run() @ 0x4cdcac19 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x5959b65e in /usr/bin/clickhouse 2024.03.05 17:54:21.294238 [ 833 ] {d19c451e-eff6-4dba-99f4-79aa60b1e553} 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 23.3.19.33.altinitystable (altinity build)) (from [::1]:35744) (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_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x43be5e88 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x43be542a in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x43be5959 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:167: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x4dfaaee5 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x4deb4d37 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x4df1b83d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x48018dd5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x48e0185a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x48df5b9e in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x4cd813b6 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::run() @ 0x4cdcac19 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x5959b65e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x5959c9ef in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x59d0192c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x59cfcec2 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x59cf8be9 in /usr/bin/clickhouse 18. ? @ 0x7fe9ee57a609 in ? 19. clone @ 0x7fe9ee49f353 in ? 2024.03.05 17:54:21.294944 [ 833 ] {d19c451e-eff6-4dba-99f4-79aa60b1e553} 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_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x43be5e88 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x43be542a in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x43be5959 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:167: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x4dfaaee5 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x4deb4d37 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x4df1b83d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x48018dd5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x48e0185a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x48df5b9e in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x4cd813b6 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::run() @ 0x4cdcac19 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x5959b65e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x5959c9ef in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x59d0192c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x59cfcec2 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x59cf8be9 in /usr/bin/clickhouse 18. ? @ 0x7fe9ee57a609 in ? 19. clone @ 0x7fe9ee49f353 in ? 2024.03.05 17:54:21.607131 [ 833 ] {599bd81d-863f-4698-9db6-653f9a21e2a7} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 15.00 million, current rows: 17.76 million: While executing MergeTreeThread. (TOO_MANY_ROWS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35744) (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_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x43be5e88 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x43be542a in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:97: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b8a78d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 17:54:21.615294 [ 833 ] {599bd81d-863f-4698-9db6-653f9a21e2a7} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 15.00 million, current rows: 17.76 million: While executing MergeTreeThread. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x43be5e88 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x43be542a in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:97: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b8a78d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 17:54:22.401776 [ 833 ] {1c90af58-a4c9-40c9-89d1-fb5a9d3dc061} 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: While processing (SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery6: While processing CounterID > ((SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery6). (TOO_MANY_ROWS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35744) (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_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x43be5e88 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x43be542a in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x43be5959 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:167: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x4dfaaee5 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x4deb4d37 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x4df1b83d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x48018dd5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x48ca9abd in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x48ca88bf in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x48b1436e in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x48b14711 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x48cb7ee0 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x48ca89e8 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x48b1436e in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x48b14711 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.h:33: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x48aeb76f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x48ad627e in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x47d841e1 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x47d76330 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x47d69515 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x48010a5c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x4800a8a1 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x47c6ba98 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x47c65f7d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x48dfe28b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x48df5b9e in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x4cd813b6 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::run() @ 0x4cdcac19 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x5959b65e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x5959c9ef in /usr/bin/clickhouse 2024.03.05 17:54:22.402622 [ 833 ] {1c90af58-a4c9-40c9-89d1-fb5a9d3dc061} 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: While processing (SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery6: While processing CounterID > ((SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery6). (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x43be5e88 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x43be542a in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x43be5959 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:167: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x4dfaaee5 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x4deb4d37 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x4df1b83d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x48018dd5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x48ca9abd in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x48ca88bf in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x48b1436e in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x48b14711 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x48cb7ee0 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x48ca89e8 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x48b1436e in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x48b14711 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.h:33: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x48aeb76f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x48ad627e in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x47d841e1 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x47d76330 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x47d69515 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x48010a5c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x4800a8a1 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x47c6ba98 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x47c65f7d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x48dfe28b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x48df5b9e in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x4cd813b6 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::run() @ 0x4cdcac19 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x5959b65e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x5959c9ef in /usr/bin/clickhouse 2024.03.05 17:54:22.498817 [ 833 ] {ca95ddf0-0bd9-4082-941a-42991c077219} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 10.00 million, current rows: 13.12 million: While executing MergeTreeThread. (TOO_MANY_ROWS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35744) (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_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x43be5e88 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x43be542a in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:97: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b8a78d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 17:54:22.503381 [ 833 ] {ca95ddf0-0bd9-4082-941a-42991c077219} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 10.00 million, current rows: 13.12 million: While executing MergeTreeThread. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x43be5e88 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x43be542a in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:97: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b8a78d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:00:57.114195 [ 2659 ] {b291bce1-abe7-4f75-86dc-61080457434d} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.058615746 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:57908) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT SearchPhrase AS k, count() AS c FROM remote('127.0.0.{1,2}', test.hits) GROUP BY k ORDER BY c DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x4827b761 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x4ceeecec in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:125: DB::PipelineExecutor::execute(unsigned long) @ 0x4ceee2da in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cf38f10 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:00:57.357829 [ 2661 ] {0a06912c-7a6f-46aa-af60-309c92d3956e} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.176032775 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:32904) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:00:57.357921 [ 2660 ] {19e96130-8189-4ec0-b0b8-05e5c2433364} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.104030772 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:33648) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:00:57.357972 [ 2659 ] {b291bce1-abe7-4f75-86dc-61080457434d} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.058615746 seconds, maximum: 1. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x4827b761 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x4ceeecec in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:125: DB::PipelineExecutor::execute(unsigned long) @ 0x4ceee2da in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cf38f10 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:00:58.042530 [ 2661 ] {0a06912c-7a6f-46aa-af60-309c92d3956e} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.176032775 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:00:58.048370 [ 2661 ] {0a06912c-7a6f-46aa-af60-309c92d3956e} TCPHandler: Client has gone away. 2024.03.05 18:00:58.576055 [ 2660 ] {19e96130-8189-4ec0-b0b8-05e5c2433364} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:33648). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x476e7a03 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x476e5f62 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:0: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x4cdc9fda in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:27: DB::TCPHandler::sendLogs() @ 0x4cda5d95 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:270: DB::TCPHandler::runImpl() @ 0x4cd82ae7 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::run() @ 0x4cdcac19 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x5959b65e in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x5959c9ef in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x59d0192c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x59cfcec2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x59cf8be9 in /usr/bin/clickhouse 13. ? @ 0x7fe9ee57a609 in ? 14. clone @ 0x7fe9ee49f353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.05 18:00:58.583018 [ 2660 ] {19e96130-8189-4ec0-b0b8-05e5c2433364} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.104030772 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:00:58.652220 [ 2660 ] {19e96130-8189-4ec0-b0b8-05e5c2433364} TCPHandler: Client has gone away. 2024.03.05 18:00:58.991180 [ 2659 ] {1999491c-e6ad-404c-a114-08f65c9be166} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.072326103 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:57920) (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_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x4827b761 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x4ceeecec in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:125: DB::PipelineExecutor::execute(unsigned long) @ 0x4ceee2da in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cf38f10 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:00:59.093226 [ 2659 ] {1999491c-e6ad-404c-a114-08f65c9be166} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.072326103 seconds, maximum: 1. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x4827b761 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x4ceeecec in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:125: DB::PipelineExecutor::execute(unsigned long) @ 0x4ceee2da in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cf38f10 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:00.306791 [ 2664 ] {4448b2aa-773b-40f1-90bd-184985a42284} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.208033732 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:58676) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:00.371460 [ 2662 ] {f7a3775d-cfdd-4bf3-83dd-27291c183079} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.200033508 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:33652) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:00.390182 [ 2663 ] {e1db82a7-007c-4e5e-b468-8721e02d9758} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.344037526 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:32916) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:00.864537 [ 2665 ] {4e7ec0d6-65fa-481b-ab99-fd162ddd4b7d} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.195729107 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:57372) (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_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x4827b761 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x4ceeecec in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:125: DB::PipelineExecutor::execute(unsigned long) @ 0x4ceee2da in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cf38f10 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:00.991423 [ 2665 ] {4e7ec0d6-65fa-481b-ab99-fd162ddd4b7d} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.195729107 seconds, maximum: 1. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x4827b761 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x4ceeecec in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:125: DB::PipelineExecutor::execute(unsigned long) @ 0x4ceee2da in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cf38f10 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:01.745174 [ 2658 ] {072751c6-bd51-4360-ab3c-3b46132d118e} executeQuery: Code: 307. DB::Exception: Limit for rows or bytes to read exceeded, max bytes: 572.20 MiB, current bytes: 590.45 MiB: While executing MergeTreeThread. (TOO_MANY_BYTES) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:57878) (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_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x43be649e in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x43be56e3 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:97: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b8a78d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:02.656712 [ 2665 ] {dbbbc8c0-29c6-4b0c-adea-f2e2076b4d03} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.100920218 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:57380) (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_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x4827b761 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x4ceeecec in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:125: DB::PipelineExecutor::execute(unsigned long) @ 0x4ceee2da in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cf38f10 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:02.701750 [ 2665 ] {dbbbc8c0-29c6-4b0c-adea-f2e2076b4d03} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.100920218 seconds, maximum: 1. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x4827b761 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x4ceeecec in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:125: DB::PipelineExecutor::execute(unsigned long) @ 0x4ceee2da in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cf38f10 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:02.981206 [ 2658 ] {072751c6-bd51-4360-ab3c-3b46132d118e} TCPHandler: Code: 307. DB::Exception: Limit for rows or bytes to read exceeded, max bytes: 572.20 MiB, current bytes: 590.45 MiB: While executing MergeTreeThread. (TOO_MANY_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x43be649e in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x43be56e3 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:97: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b8a78d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:03.405371 [ 2666 ] {f54d3b1c-f831-424e-b01f-8c285c2871f8} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.280035786 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:56932) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:03.418117 [ 2657 ] {d2c27c5b-062c-4253-a2d3-26991a0f5b2c} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.364038135 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:48458) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:03.438369 [ 833 ] {4fa560bc-e914-4f3d-847f-d81a2b7d342a} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.408039366 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:33492) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:03.488612 [ 1636 ] {74940755-2294-4dce-ae6a-58b486b95d05} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.296036235 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:49060) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:05.575738 [ 3156 ] {874d047f-8afe-410d-8621-25a538b24c6d} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.292036215 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:48484) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:05.746097 [ 3160 ] {3ce433d5-7b0c-4167-bf99-f2a1d0a9ddcf} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.028028816 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:45138) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:05.898529 [ 3156 ] {874d047f-8afe-410d-8621-25a538b24c6d} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.292036215 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:06.077261 [ 2659 ] {8551e085-394d-44aa-8529-02ce53c4285f} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.0040281 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:56946) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:06.095044 [ 2660 ] {da35993e-33f2-4cbe-b81e-70f90f4d5b88} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.100030785 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:33506) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:06.116077 [ 2661 ] {868e1a93-9642-46e1-9f46-eaa05f5e0894} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.100030785 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:46230) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:06.119181 [ 3151 ] {94c992a0-fcb6-42c7-9daa-1b417e21e09c} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 4.426212637 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:48472) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x4827b761 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x4ceeecec in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:125: DB::PipelineExecutor::execute(unsigned long) @ 0x4ceee2da in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cf38f10 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:06.157360 [ 3160 ] {3ce433d5-7b0c-4167-bf99-f2a1d0a9ddcf} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.028028816 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:06.184812 [ 3152 ] {09d6609f-c877-4a54-a735-5ad353d20ea7} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.0040281 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:49076) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:06.647917 [ 3159 ] {d52c0e61-13cf-4a8c-a307-f0b15a07aceb} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.112031167 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:49078) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:06.649024 [ 3158 ] {2f6c5978-242d-4abf-9951-a94cbb57c799} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.792050236 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:46246) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:06.649017 [ 3155 ] {c9144fc0-d6d9-43e2-a686-c1ac01b318d9} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.796050347 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:33516) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:06.655372 [ 3157 ] {dd27bc37-58e8-49be-b444-f5f7c3d8f5c6} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.00802825 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:56950) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:07.393096 [ 2662 ] {f7a3775d-cfdd-4bf3-83dd-27291c183079} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:33652). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x476e7a03 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x476e5f62 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:0: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x4cdc9fda in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:27: DB::TCPHandler::sendLogs() @ 0x4cda5d95 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:270: DB::TCPHandler::runImpl() @ 0x4cd82ae7 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::run() @ 0x4cdcac19 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x5959b65e in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x5959c9ef in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x59d0192c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x59cfcec2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x59cf8be9 in /usr/bin/clickhouse 13. ? @ 0x7fe9ee57a609 in ? 14. clone @ 0x7fe9ee49f353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.05 18:01:07.393929 [ 2662 ] {f7a3775d-cfdd-4bf3-83dd-27291c183079} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.200033508 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:07.403968 [ 2662 ] {f7a3775d-cfdd-4bf3-83dd-27291c183079} TCPHandler: Client has gone away. 2024.03.05 18:01:07.404476 [ 2663 ] {e1db82a7-007c-4e5e-b468-8721e02d9758} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:32916). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x476e7a03 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x476e5f62 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:0: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x4cdc9fda in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:27: DB::TCPHandler::sendLogs() @ 0x4cda5d95 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:270: DB::TCPHandler::runImpl() @ 0x4cd82ae7 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::run() @ 0x4cdcac19 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x5959b65e in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x5959c9ef in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x59d0192c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x59cfcec2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x59cf8be9 in /usr/bin/clickhouse 13. ? @ 0x7fe9ee57a609 in ? 14. clone @ 0x7fe9ee49f353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.05 18:01:07.404960 [ 2663 ] {e1db82a7-007c-4e5e-b468-8721e02d9758} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.344037526 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:07.423584 [ 2663 ] {e1db82a7-007c-4e5e-b468-8721e02d9758} TCPHandler: Client has gone away. 2024.03.05 18:01:07.541760 [ 3159 ] {d52c0e61-13cf-4a8c-a307-f0b15a07aceb} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.112031167 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:07.597660 [ 2664 ] {4448b2aa-773b-40f1-90bd-184985a42284} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.208033732 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:07.627135 [ 2664 ] {4448b2aa-773b-40f1-90bd-184985a42284} TCPHandler: Client has gone away. 2024.03.05 18:01:08.405774 [ 3157 ] {dd27bc37-58e8-49be-b444-f5f7c3d8f5c6} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.00802825 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:08.409366 [ 833 ] {4fa560bc-e914-4f3d-847f-d81a2b7d342a} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.408039366 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:08.426322 [ 833 ] {4fa560bc-e914-4f3d-847f-d81a2b7d342a} TCPHandler: Client has gone away. 2024.03.05 18:01:08.998774 [ 2665 ] {7959a75b-767a-45dc-9dc9-9838efcc5e94} executeQuery: Code: 159. DB::Exception: Received from 127.0.0.1:9000. DB::Exception: Timeout exceeded: elapsed 1.00802825 seconds, maximum: 1: While executing MergeTreeThread. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? : While executing Remote. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:57382) (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_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0xe2da9f6 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:0: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x29aedf06 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x4c9b23ad in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x4c9cd2f3 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/PacketReceiver.h:0: DB::PacketReceiver::Routine::operator()(boost::context::fiber&&) @ 0x4ca3cd77 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/context/fiber_fcontext.hpp:250: boost::context::detail::fiber_record::run(void*) @ 0x4ca3c1e9 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/context/fiber_fcontext.hpp:0: void boost::context::detail::fiber_entry>(boost::context::detail::transfer_t) @ 0x4ca3bfd3 in /usr/bin/clickhouse 2024.03.05 18:01:08.999066 [ 2658 ] {fec3dc8b-85c9-435e-91fb-4475e9ad8d00} executeQuery: Code: 307. DB::Exception: Limit for rows or bytes to read exceeded, max bytes: 572.20 MiB, current bytes: 585.31 MiB: While executing MergeTreeThread. (TOO_MANY_BYTES) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:57878) (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_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x43be649e in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x43be56e3 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:97: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b8a78d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:08.999216 [ 2659 ] {8551e085-394d-44aa-8529-02ce53c4285f} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:56946). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x476e7a03 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x476e5f62 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:0: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x4cdc9fda in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:27: DB::TCPHandler::sendLogs() @ 0x4cda5d95 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:270: DB::TCPHandler::runImpl() @ 0x4cd82ae7 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::run() @ 0x4cdcac19 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x5959b65e in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x5959c9ef in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x59d0192c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x59cfcec2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x59cf8be9 in /usr/bin/clickhouse 13. ? @ 0x7fe9ee57a609 in ? 14. clone @ 0x7fe9ee49f353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.05 18:01:08.999229 [ 3155 ] {c9144fc0-d6d9-43e2-a686-c1ac01b318d9} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.796050347 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:08.999392 [ 2657 ] {d2c27c5b-062c-4253-a2d3-26991a0f5b2c} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.364038135 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:08.999497 [ 3151 ] {94c992a0-fcb6-42c7-9daa-1b417e21e09c} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 4.426212637 seconds, maximum: 1. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x4827b761 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x4ceeecec in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:125: DB::PipelineExecutor::execute(unsigned long) @ 0x4ceee2da in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cf38f10 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:08.999422 [ 3158 ] {2f6c5978-242d-4abf-9951-a94cbb57c799} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.792050236 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:08.999531 [ 1636 ] {74940755-2294-4dce-ae6a-58b486b95d05} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:49060). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x476e7a03 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x476e5f62 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:0: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x4cdc9fda in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:27: DB::TCPHandler::sendLogs() @ 0x4cda5d95 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:270: DB::TCPHandler::runImpl() @ 0x4cd82ae7 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::run() @ 0x4cdcac19 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x5959b65e in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x5959c9ef in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x59d0192c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x59cfcec2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x59cf8be9 in /usr/bin/clickhouse 13. ? @ 0x7fe9ee57a609 in ? 14. clone @ 0x7fe9ee49f353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.05 18:01:08.999624 [ 2660 ] {da35993e-33f2-4cbe-b81e-70f90f4d5b88} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.100030785 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:08.999698 [ 2666 ] {f54d3b1c-f831-424e-b01f-8c285c2871f8} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.280035786 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:08.999732 [ 3152 ] {09d6609f-c877-4a54-a735-5ad353d20ea7} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.0040281 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:08.999724 [ 2661 ] {868e1a93-9642-46e1-9f46-eaa05f5e0894} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.100030785 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:08.999821 [ 2659 ] {8551e085-394d-44aa-8529-02ce53c4285f} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.0040281 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:09.000010 [ 3151 ] {94c992a0-fcb6-42c7-9daa-1b417e21e09c} TCPHandler: Client has gone away. 2024.03.05 18:01:09.000110 [ 1636 ] {74940755-2294-4dce-ae6a-58b486b95d05} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.296036235 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:09.001265 [ 3152 ] {09d6609f-c877-4a54-a735-5ad353d20ea7} TCPHandler: Client has gone away. 2024.03.05 18:01:09.001317 [ 2659 ] {8551e085-394d-44aa-8529-02ce53c4285f} TCPHandler: Client has gone away. 2024.03.05 18:01:09.001394 [ 2661 ] {868e1a93-9642-46e1-9f46-eaa05f5e0894} TCPHandler: Client has gone away. 2024.03.05 18:01:09.001401 [ 2660 ] {da35993e-33f2-4cbe-b81e-70f90f4d5b88} TCPHandler: Client has gone away. 2024.03.05 18:01:09.001488 [ 2657 ] {d2c27c5b-062c-4253-a2d3-26991a0f5b2c} TCPHandler: Client has gone away. 2024.03.05 18:01:09.001647 [ 2666 ] {f54d3b1c-f831-424e-b01f-8c285c2871f8} TCPHandler: Client has gone away. 2024.03.05 18:01:09.005842 [ 1636 ] {74940755-2294-4dce-ae6a-58b486b95d05} TCPHandler: Client has gone away. 2024.03.05 18:01:09.231792 [ 3160 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:45138). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x476e3d32 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x476e203d in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:0: DB::TCPHandler::runImpl() @ 0x4cd7f0e1 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::run() @ 0x4cdcac19 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x5959b65e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x5959c9ef in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x59d0192c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x59cfcec2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x59cf8be9 in /usr/bin/clickhouse 11. ? @ 0x7fe9ee57a609 in ? 12. clone @ 0x7fe9ee49f353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.05 18:01:09.231926 [ 2658 ] {fec3dc8b-85c9-435e-91fb-4475e9ad8d00} TCPHandler: Code: 307. DB::Exception: Limit for rows or bytes to read exceeded, max bytes: 572.20 MiB, current bytes: 585.31 MiB: While executing MergeTreeThread. (TOO_MANY_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x43be649e in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x43be56e3 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:97: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b8a78d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:09.231949 [ 2665 ] {7959a75b-767a-45dc-9dc9-9838efcc5e94} TCPHandler: Code: 159. DB::Exception: Received from 127.0.0.1:9000. DB::Exception: Timeout exceeded: elapsed 1.00802825 seconds, maximum: 1: While executing MergeTreeThread. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? : While executing Remote. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0xe2da9f6 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:0: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x29aedf06 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x4c9b23ad in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x4c9cd2f3 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/PacketReceiver.h:0: DB::PacketReceiver::Routine::operator()(boost::context::fiber&&) @ 0x4ca3cd77 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/context/fiber_fcontext.hpp:250: boost::context::detail::fiber_record::run(void*) @ 0x4ca3c1e9 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/context/fiber_fcontext.hpp:0: void boost::context::detail::fiber_entry>(boost::context::detail::transfer_t) @ 0x4ca3bfd3 in /usr/bin/clickhouse 2024.03.05 18:01:09.232179 [ 3158 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:46246). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x476e3d32 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x476e203d in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:0: DB::TCPHandler::runImpl() @ 0x4cd7f0e1 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::run() @ 0x4cdcac19 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x5959b65e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x5959c9ef in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x59d0192c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x59cfcec2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x59cf8be9 in /usr/bin/clickhouse 11. ? @ 0x7fe9ee57a609 in ? 12. clone @ 0x7fe9ee49f353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.05 18:01:09.232522 [ 3156 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:48484). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x476e3d32 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x476e203d in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:0: DB::TCPHandler::runImpl() @ 0x4cd7f0e1 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::run() @ 0x4cdcac19 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x5959b65e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x5959c9ef in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x59d0192c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x59cfcec2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x59cf8be9 in /usr/bin/clickhouse 11. ? @ 0x7fe9ee57a609 in ? 12. clone @ 0x7fe9ee49f353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.05 18:01:09.232837 [ 3155 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:33516). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x476e3d32 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x476e203d in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:0: DB::TCPHandler::runImpl() @ 0x4cd7f0e1 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::run() @ 0x4cdcac19 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x5959b65e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x5959c9ef in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x59d0192c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x59cfcec2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x59cf8be9 in /usr/bin/clickhouse 11. ? @ 0x7fe9ee57a609 in ? 12. clone @ 0x7fe9ee49f353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.05 18:01:09.233600 [ 3159 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:49078). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x476e3d32 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x476e203d in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:0: DB::TCPHandler::runImpl() @ 0x4cd7f0e1 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::run() @ 0x4cdcac19 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x5959b65e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x5959c9ef in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x59d0192c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x59cfcec2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x59cf8be9 in /usr/bin/clickhouse 11. ? @ 0x7fe9ee57a609 in ? 12. clone @ 0x7fe9ee49f353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.05 18:01:10.961216 [ 2664 ] {d666539a-62ed-4d8d-99a7-f11de140829b} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.016028589 seconds, maximum: 1: While executing Remote. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36544) (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_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:11.102532 [ 2664 ] {d666539a-62ed-4d8d-99a7-f11de140829b} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.016028589 seconds, maximum: 1: While executing Remote. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:12.099789 [ 2666 ] {341b7599-3ac6-41cd-aead-42fcf7aace94} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.048029492 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:39260) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:12.103504 [ 1847 ] {28618a4d-9966-40fa-876c-0c4b87a30ee1} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.124031631 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:50952) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:12.103530 [ 2665 ] {049cc778-5155-467b-b5c9-1f70d2ebc441} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.636046054 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:41102) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:12.103695 [ 1636 ] {4a752122-8bfd-4cfd-b989-ff906cbfa0d0} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.060029829 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:35088) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:12.103770 [ 2657 ] {2c1c9b7a-c40c-4dea-9cd2-29222203efa9} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.52004279 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:50450) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:12.125720 [ 2658 ] {b5f4e057-27ab-4bbb-98bc-4cc28226283f} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.416039861 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:55680) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:12.330437 [ 833 ] {6fdd9772-6837-4b79-ab18-35d196ccddba} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.16803287 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:36490) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:13.243209 [ 833 ] {6fdd9772-6837-4b79-ab18-35d196ccddba} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.16803287 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:13.284479 [ 1636 ] {4a752122-8bfd-4cfd-b989-ff906cbfa0d0} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.060029829 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:13.295693 [ 2658 ] {b5f4e057-27ab-4bbb-98bc-4cc28226283f} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.416039861 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:13.302285 [ 833 ] {6fdd9772-6837-4b79-ab18-35d196ccddba} TCPHandler: Client has gone away. 2024.03.05 18:01:13.305613 [ 1636 ] {4a752122-8bfd-4cfd-b989-ff906cbfa0d0} TCPHandler: Client has gone away. 2024.03.05 18:01:13.320351 [ 2658 ] {b5f4e057-27ab-4bbb-98bc-4cc28226283f} TCPHandler: Client has gone away. 2024.03.05 18:01:13.329172 [ 2666 ] {341b7599-3ac6-41cd-aead-42fcf7aace94} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.048029492 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:13.331966 [ 2664 ] {88609cd4-2100-48c1-867d-fc0791d87075} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.660969522 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36558) (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_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x4827b761 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x4ceeecec in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:125: DB::PipelineExecutor::execute(unsigned long) @ 0x4ceee2da in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cf38f10 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:13.332057 [ 2666 ] {341b7599-3ac6-41cd-aead-42fcf7aace94} TCPHandler: Client has gone away. 2024.03.05 18:01:13.361307 [ 2665 ] {049cc778-5155-467b-b5c9-1f70d2ebc441} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:41102). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x476e7a03 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x476e5f62 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:0: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x4cdc9fda in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:27: DB::TCPHandler::sendLogs() @ 0x4cda5d95 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:270: DB::TCPHandler::runImpl() @ 0x4cd82ae7 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::run() @ 0x4cdcac19 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x5959b65e in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x5959c9ef in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x59d0192c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x59cfcec2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x59cf8be9 in /usr/bin/clickhouse 13. ? @ 0x7fe9ee57a609 in ? 14. clone @ 0x7fe9ee49f353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.05 18:01:13.361598 [ 2665 ] {049cc778-5155-467b-b5c9-1f70d2ebc441} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.636046054 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:13.367054 [ 1847 ] {28618a4d-9966-40fa-876c-0c4b87a30ee1} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.124031631 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:13.385648 [ 2657 ] {2c1c9b7a-c40c-4dea-9cd2-29222203efa9} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:50450). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x476e7a03 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x476e5f62 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:0: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x4cdc9fda in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:27: DB::TCPHandler::sendLogs() @ 0x4cda5d95 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:270: DB::TCPHandler::runImpl() @ 0x4cd82ae7 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::run() @ 0x4cdcac19 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x5959b65e in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x5959c9ef in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x59d0192c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x59cfcec2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x59cf8be9 in /usr/bin/clickhouse 13. ? @ 0x7fe9ee57a609 in ? 14. clone @ 0x7fe9ee49f353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.05 18:01:13.386006 [ 2657 ] {2c1c9b7a-c40c-4dea-9cd2-29222203efa9} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.52004279 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:13.390055 [ 2665 ] {049cc778-5155-467b-b5c9-1f70d2ebc441} TCPHandler: Client has gone away. 2024.03.05 18:01:13.403563 [ 1847 ] {28618a4d-9966-40fa-876c-0c4b87a30ee1} TCPHandler: Client has gone away. 2024.03.05 18:01:13.407957 [ 2657 ] {2c1c9b7a-c40c-4dea-9cd2-29222203efa9} TCPHandler: Client has gone away. 2024.03.05 18:01:13.464161 [ 2664 ] {88609cd4-2100-48c1-867d-fc0791d87075} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.660969522 seconds, maximum: 1. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x4827b761 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x4ceeecec in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:125: DB::PipelineExecutor::execute(unsigned long) @ 0x4ceee2da in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cf38f10 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:13.567349 [ 2661 ] {184e7fc8-3005-4092-a40d-4de6f63c8d2f} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.264035629 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:36506) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:13.631620 [ 3156 ] {78e88435-d281-496a-b3b6-71821166e9e2} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.23603484 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:39270) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:13.683734 [ 3155 ] {a0045a80-50cc-46fd-a75b-7f546369ebd5} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.304036758 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:50958) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:13.695050 [ 2662 ] {8c5e848b-a5ae-4b6c-9729-f34afec3349e} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.39603935 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:48832) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:13.767022 [ 3151 ] {09a8a9b8-c9fc-4ece-8394-49a34e160510} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.048029544 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:55688) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:13.776153 [ 2660 ] {9ffc3b5b-8f8d-41db-ad93-2457b263e693} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.240034956 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:50464) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:13.776505 [ 3152 ] {a2023097-870b-45e4-9cf6-acc9dd637da5} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.024028869 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:41104) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:13.797001 [ 3157 ] {0763d2b2-0b8a-4232-bdcc-f5944fbbea70} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.160032701 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:35092) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:14.189158 [ 2661 ] {184e7fc8-3005-4092-a40d-4de6f63c8d2f} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.264035629 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:14.223987 [ 3156 ] {78e88435-d281-496a-b3b6-71821166e9e2} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.23603484 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:14.244369 [ 2661 ] {184e7fc8-3005-4092-a40d-4de6f63c8d2f} TCPHandler: Client has gone away. 2024.03.05 18:01:14.247345 [ 3156 ] {78e88435-d281-496a-b3b6-71821166e9e2} TCPHandler: Client has gone away. 2024.03.05 18:01:14.282053 [ 3152 ] {a2023097-870b-45e4-9cf6-acc9dd637da5} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.024028869 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:14.308832 [ 3155 ] {a0045a80-50cc-46fd-a75b-7f546369ebd5} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.304036758 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:14.313972 [ 3155 ] {a0045a80-50cc-46fd-a75b-7f546369ebd5} TCPHandler: Client has gone away. 2024.03.05 18:01:14.314054 [ 3152 ] {a2023097-870b-45e4-9cf6-acc9dd637da5} TCPHandler: Client has gone away. 2024.03.05 18:01:14.337795 [ 2660 ] {9ffc3b5b-8f8d-41db-ad93-2457b263e693} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.240034956 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:14.347501 [ 2660 ] {9ffc3b5b-8f8d-41db-ad93-2457b263e693} TCPHandler: Client has gone away. 2024.03.05 18:01:15.001389 [ 3151 ] {09a8a9b8-c9fc-4ece-8394-49a34e160510} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.048029544 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:15.068093 [ 3157 ] {0763d2b2-0b8a-4232-bdcc-f5944fbbea70} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.160032701 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:15.082324 [ 3151 ] {09a8a9b8-c9fc-4ece-8394-49a34e160510} TCPHandler: Client has gone away. 2024.03.05 18:01:15.115028 [ 2662 ] {8c5e848b-a5ae-4b6c-9729-f34afec3349e} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.39603935 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:15.144597 [ 3157 ] {0763d2b2-0b8a-4232-bdcc-f5944fbbea70} TCPHandler: Client has gone away. 2024.03.05 18:01:15.177443 [ 2662 ] {8c5e848b-a5ae-4b6c-9729-f34afec3349e} TCPHandler: Client has gone away. 2024.03.05 18:01:15.266201 [ 3158 ] {05c1d8a4-a0da-4986-84d5-c8597de5af0f} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.228652141 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36560) (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_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x4827b761 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x4ceeecec in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:125: DB::PipelineExecutor::execute(unsigned long) @ 0x4ceee2da in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cf38f10 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:15.646576 [ 3158 ] {05c1d8a4-a0da-4986-84d5-c8597de5af0f} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.228652141 seconds, maximum: 1. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x4827b761 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x4ceeecec in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:125: DB::PipelineExecutor::execute(unsigned long) @ 0x4ceee2da in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cf38f10 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:16.022861 [ 2666 ] {72f4d962-556d-40a1-906f-5aca8cfce481} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.580044597 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:39282) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:16.097556 [ 1847 ] {5b529ad5-405f-4468-ae01-eff47bb38315} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.564044148 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:35108) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:16.124158 [ 1636 ] {03eb2efb-92c3-4ca9-ae9f-6a34d38a8e3b} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.672047196 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:36514) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:16.135129 [ 3159 ] {8ca9766e-0d40-4974-b8e1-1620d4a543e8} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.360038394 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:41116) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:16.151856 [ 833 ] {5e888425-ca28-4c77-9086-dd6acdb413ab} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.528043134 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:46684) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:16.193223 [ 2665 ] {bb2e7869-e3db-4a00-ba4b-1e2396222304} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.480041782 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:50968) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:16.228314 [ 3160 ] {9fa89796-a28a-4bf3-a5ba-b383719b5e39} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.080030485 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:48842) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:16.251332 [ 2657 ] {0b5aef48-0753-4d1d-8601-b25191187e9a} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.188033531 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:50466) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:16.277989 [ 2664 ] {b893714e-2b03-4a66-87e9-e60e613f4fe6} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.46004122 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:55690) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:16.525316 [ 2666 ] {72f4d962-556d-40a1-906f-5aca8cfce481} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.580044597 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:16.567261 [ 2666 ] {72f4d962-556d-40a1-906f-5aca8cfce481} TCPHandler: Client has gone away. 2024.03.05 18:01:16.612398 [ 1847 ] {5b529ad5-405f-4468-ae01-eff47bb38315} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.564044148 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:16.612986 [ 1847 ] {5b529ad5-405f-4468-ae01-eff47bb38315} TCPHandler: Client has gone away. 2024.03.05 18:01:16.633066 [ 3159 ] {8ca9766e-0d40-4974-b8e1-1620d4a543e8} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:41116). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x476e7a03 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x476e5f62 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:0: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x4cdc9fda in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:27: DB::TCPHandler::sendLogs() @ 0x4cda5d95 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:270: DB::TCPHandler::runImpl() @ 0x4cd82ae7 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::run() @ 0x4cdcac19 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x5959b65e in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x5959c9ef in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x59d0192c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x59cfcec2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x59cf8be9 in /usr/bin/clickhouse 13. ? @ 0x7fe9ee57a609 in ? 14. clone @ 0x7fe9ee49f353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.05 18:01:16.636418 [ 3159 ] {8ca9766e-0d40-4974-b8e1-1620d4a543e8} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.360038394 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:16.661763 [ 1636 ] {03eb2efb-92c3-4ca9-ae9f-6a34d38a8e3b} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.672047196 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:16.668351 [ 3159 ] {8ca9766e-0d40-4974-b8e1-1620d4a543e8} TCPHandler: Client has gone away. 2024.03.05 18:01:16.694555 [ 1636 ] {03eb2efb-92c3-4ca9-ae9f-6a34d38a8e3b} TCPHandler: Client has gone away. 2024.03.05 18:01:16.777171 [ 833 ] {5e888425-ca28-4c77-9086-dd6acdb413ab} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.9]:9000 -> [::ffff:127.0.0.1]:46684). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x476e7a03 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x476e5f62 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:0: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x4cdc9fda in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:27: DB::TCPHandler::sendLogs() @ 0x4cda5d95 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:270: DB::TCPHandler::runImpl() @ 0x4cd82ae7 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::run() @ 0x4cdcac19 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x5959b65e in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x5959c9ef in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x59d0192c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x59cfcec2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x59cf8be9 in /usr/bin/clickhouse 13. ? @ 0x7fe9ee57a609 in ? 14. clone @ 0x7fe9ee49f353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.05 18:01:16.778269 [ 833 ] {5e888425-ca28-4c77-9086-dd6acdb413ab} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.528043134 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:16.829000 [ 833 ] {5e888425-ca28-4c77-9086-dd6acdb413ab} TCPHandler: Client has gone away. 2024.03.05 18:01:16.854876 [ 2664 ] {b893714e-2b03-4a66-87e9-e60e613f4fe6} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.46004122 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:16.878793 [ 2665 ] {bb2e7869-e3db-4a00-ba4b-1e2396222304} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.480041782 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:16.890545 [ 3160 ] {9fa89796-a28a-4bf3-a5ba-b383719b5e39} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.080030485 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:16.900372 [ 2664 ] {b893714e-2b03-4a66-87e9-e60e613f4fe6} TCPHandler: Client has gone away. 2024.03.05 18:01:16.937850 [ 2665 ] {bb2e7869-e3db-4a00-ba4b-1e2396222304} TCPHandler: Client has gone away. 2024.03.05 18:01:16.962053 [ 3160 ] {9fa89796-a28a-4bf3-a5ba-b383719b5e39} TCPHandler: Client has gone away. 2024.03.05 18:01:16.984081 [ 2657 ] {0b5aef48-0753-4d1d-8601-b25191187e9a} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.188033531 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:17.061433 [ 2657 ] {0b5aef48-0753-4d1d-8601-b25191187e9a} TCPHandler: Client has gone away. 2024.03.05 18:01:17.466419 [ 2661 ] {3b827293-3e74-4cbd-9bd1-a6500a79af2a} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.215737538 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36566) (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_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x4827b761 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x4ceeecec in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:125: DB::PipelineExecutor::execute(unsigned long) @ 0x4ceee2da in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cf38f10 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:18.456971 [ 2661 ] {3b827293-3e74-4cbd-9bd1-a6500a79af2a} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.215737538 seconds, maximum: 1. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x4827b761 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x4ceeecec in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:125: DB::PipelineExecutor::execute(unsigned long) @ 0x4ceee2da in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cf38f10 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:18.476399 [ 3157 ] {cbe9840c-10de-4687-a1b4-be3a40bcc5b4} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.228034717 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:46686) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:18.537109 [ 2658 ] {04f58f62-1bf7-47c1-a2e1-f2eeac4915e0} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.264035735 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:50980) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:18.800548 [ 3158 ] {063c0476-2fdc-4fe3-9dc0-338cd1c65506} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.152032562 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:35112) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:18.801227 [ 3157 ] {cbe9840c-10de-4687-a1b4-be3a40bcc5b4} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.228034717 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:18.810144 [ 3243 ] {b0304677-ccb3-4598-b57c-f99dfd213438} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.180033352 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:36526) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:18.824839 [ 3157 ] {cbe9840c-10de-4687-a1b4-be3a40bcc5b4} TCPHandler: Client has gone away. 2024.03.05 18:01:18.829484 [ 2662 ] {3e12fde5-69d0-420e-a825-368bb4049de5} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.152032557 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:41132) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:18.829593 [ 3151 ] {a749194a-9c3b-4f64-a079-cca76e6214b9} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.100031088 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:49720) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:18.829617 [ 3152 ] {1c603616-1613-42c4-85c7-b2f71de42d43} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.04802962 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:48856) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:18.829665 [ 2660 ] {9720d3fe-e7fa-4480-abe7-2a177439cd73} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.168033013 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:55698) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:18.842063 [ 3156 ] {3e727481-6d52-4d3e-9627-1aca6cb2b6e0} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.156032671 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:50472) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:18.842076 [ 3155 ] {79b52146-27fe-4221-b06f-248f2cbd8ebc} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.100031091 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:39288) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` GROUP BY `k` ORDER BY `c` DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:19.217837 [ 2658 ] {04f58f62-1bf7-47c1-a2e1-f2eeac4915e0} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.264035735 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:19.233644 [ 2658 ] {04f58f62-1bf7-47c1-a2e1-f2eeac4915e0} TCPHandler: Client has gone away. 2024.03.05 18:01:19.268251 [ 3243 ] {b0304677-ccb3-4598-b57c-f99dfd213438} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.180033352 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:19.280258 [ 3243 ] {b0304677-ccb3-4598-b57c-f99dfd213438} TCPHandler: Client has gone away. 2024.03.05 18:01:19.292848 [ 3156 ] {3e727481-6d52-4d3e-9627-1aca6cb2b6e0} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.156032671 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:19.296287 [ 3158 ] {063c0476-2fdc-4fe3-9dc0-338cd1c65506} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.152032562 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:19.307872 [ 3152 ] {1c603616-1613-42c4-85c7-b2f71de42d43} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.04802962 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:19.309042 [ 3158 ] {063c0476-2fdc-4fe3-9dc0-338cd1c65506} TCPHandler: Client has gone away. 2024.03.05 18:01:19.309061 [ 3156 ] {3e727481-6d52-4d3e-9627-1aca6cb2b6e0} TCPHandler: Client has gone away. 2024.03.05 18:01:19.309286 [ 3152 ] {1c603616-1613-42c4-85c7-b2f71de42d43} TCPHandler: Client has gone away. 2024.03.05 18:01:19.324622 [ 3155 ] {79b52146-27fe-4221-b06f-248f2cbd8ebc} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.100031091 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:19.325083 [ 3155 ] {79b52146-27fe-4221-b06f-248f2cbd8ebc} TCPHandler: Client has gone away. 2024.03.05 18:01:19.325228 [ 3151 ] {a749194a-9c3b-4f64-a079-cca76e6214b9} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.100031088 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:19.329413 [ 3151 ] {a749194a-9c3b-4f64-a079-cca76e6214b9} TCPHandler: Client has gone away. 2024.03.05 18:01:19.338022 [ 2660 ] {9720d3fe-e7fa-4480-abe7-2a177439cd73} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.168033013 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:19.348487 [ 2660 ] {9720d3fe-e7fa-4480-abe7-2a177439cd73} TCPHandler: Client has gone away. 2024.03.05 18:01:19.369744 [ 2662 ] {3e12fde5-69d0-420e-a825-368bb4049de5} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:41132). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x476e7a03 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x476e5f62 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:0: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x4cdc9fda in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:27: DB::TCPHandler::sendLogs() @ 0x4cda5d95 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:270: DB::TCPHandler::runImpl() @ 0x4cd82ae7 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::run() @ 0x4cdcac19 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x5959b65e in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x5959c9ef in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x59d0192c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x59cfcec2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x59cf8be9 in /usr/bin/clickhouse 13. ? @ 0x7fe9ee57a609 in ? 14. clone @ 0x7fe9ee49f353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.05 18:01:19.370037 [ 2662 ] {3e12fde5-69d0-420e-a825-368bb4049de5} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.152032557 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x59b2dd89 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:0: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2995de72 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x43b8e1dd in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x43b8d327 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:0: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x43b89f35 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x4cf2ae46 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x4cef08dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:48: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x4cef672e in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x29ceeb52 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x29cffc83 in /usr/bin/clickhouse 10. ? @ 0x7fe9ee57a609 in ? 11. clone @ 0x7fe9ee49f353 in ? 2024.03.05 18:01:19.378321 [ 2662 ] {3e12fde5-69d0-420e-a825-368bb4049de5} TCPHandler: Client has gone away.